diff widgets/PropertyBox.cpp @ 1179:7c31eb5bc77d levelpanwidget

Switch to level-pan tool button in property box
author Chris Cannam
date Tue, 06 Dec 2016 09:20:10 +0000
parents ed99d432dc57
children 6a6a63506e3f
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp	Mon Dec 05 17:13:01 2016 +0000
+++ b/widgets/PropertyBox.cpp	Tue Dec 06 09:20:10 2016 +0000
@@ -28,6 +28,7 @@
 #include "LEDButton.h"
 #include "IconLoader.h"
 #include "LevelPanWidget.h"
+#include "LevelPanToolButton.h"
 #include "WidgetScale.h"
 
 #include "NotifyingCheckBox.h"
@@ -205,7 +206,7 @@
                     this, SLOT(editPlayParameters()));
         }
 
-        LevelPanWidget *levelPan = new LevelPanWidget;
+        LevelPanToolButton *levelPan = new LevelPanToolButton;
         layout->addWidget(levelPan);
         connect(levelPan, SIGNAL(levelChanged(float)),
                 this, SLOT(playGainControlChanged(float)));