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
@@ -30,7 +30,7 @@
#include "widget/timelinewidget/timelinescaledobject.h"
#include "widget/timelinewidget/view/timelineplayhead.h"
class TimeRuler : public QWidget, public TimelineScaledObject
class TimeRuler : public TimelineScaledWidget
{
Q_OBJECT
public: