summaryrefslogtreecommitdiffstats
path: root/src/mixxx.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2016-01-25 00:23:06 -0800
committerRJ Ryan <rryan@mixxx.org>2016-01-25 00:23:06 -0800
commit52e43c66bb91101b58768136d7e41af8960aa9f1 (patch)
treecfcdfe40bd82b26e7ed6d4e8405038163350c563 /src/mixxx.h
parent83e58a40a109acda194078ad8e53d07de68799bd (diff)
Use an enum for tooltip mode.
Diffstat (limited to 'src/mixxx.h')
-rw-r--r--src/mixxx.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mixxx.h b/src/mixxx.h
index fcbc9f5bd4..65ebd3e78a 100644
--- a/src/mixxx.h
+++ b/src/mixxx.h
@@ -49,6 +49,7 @@ class LaunchImage;
#include "configobject.h"
#include "preferences/usersettings.h"
+#include "preferences/constants.h"
#include "trackinfoobject.h"
#include "util/cmdlineargs.h"
#include "util/timer.h"
@@ -79,8 +80,8 @@ class MixxxMainWindow : public QMainWindow {
// after it was inited
void populateMenuBar();
- void setToolTipsCfg(int tt);
- inline int getToolTipsCfg() { return m_toolTipsCfg; }
+ void setToolTipsCfg(mixxx::TooltipsPreference tt);
+ inline mixxx::TooltipsPreference getToolTipsCfg() { return m_toolTipsCfg; }
void rebootMixxxView();
inline GuiTick* getGuiTick() { return m_pGuiTick; };
@@ -304,7 +305,7 @@ class MixxxMainWindow : public QMainWindow {
ConfigObject<ConfigValueKbd>* m_pKbdConfig;
ConfigObject<ConfigValueKbd>* m_pKbdConfigEmpty;
- int m_toolTipsCfg; //0=OFF, 1=ON, 2=ON (only in Library)
+ mixxx::TooltipsPreference m_toolTipsCfg;
// Timer that tracks how long Mixxx has been running.
Timer m_runtime_timer;