various: created derived class for widget derivations of

TimelineScaledObject

Minor code cleanup, faster than deriving both QWidget and
TimelineScaledObject each time.
This commit is contained in:
itsmattkc
2020-03-14 00:45:50 +11:00
parent 75417f85d1
commit f0e6f9a5f9
6 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
#include "core.h"
TimeRuler::TimeRuler(bool text_visible, bool cache_status_visible, QWidget* parent) :
QWidget(parent),
TimelineScaledWidget(parent),
scroll_(0),
text_visible_(text_visible),
centered_text_(true),