AutomationEditor: fix grid drawing, now both time signatures other than 4/4 and scrolling should work quite a bit better.
Merge https://github.com/LMMS/lmms into bugs_283_303
Merge https://github.com/LMMS/lmms into bugs_283_303
Merge https://github.com/LMMS/lmms into bugs_283_303
Merge https://github.com/LMMS/lmms into bugs_283_303
Merge https://github.com/LMMS/lmms into bugs_283_303
Removed an unnecessary QDebug include
Merge pull request #530 from softrabbit/bugs_283_303

AutomationEditor: horizontal grid drawing improvements