diff options
author | Palakis <contact@slepin.fr> | 2017-06-15 15:38:33 +0200 |
---|---|---|
committer | Palakis <contact@slepin.fr> | 2017-06-15 15:38:33 +0200 |
commit | 29e2205b7e895384d959cbe2ea73adbe93044ae1 (patch) | |
tree | c1589d4ed61416a2c11eb27721299bb737c933ef /src/mixxx.h | |
parent | b2d089d9d6158c1756068501b2e122ae4fc3a906 (diff) |
BroadcastSettings: make sure only one instance exists
Diffstat (limited to 'src/mixxx.h')
-rw-r--r-- | src/mixxx.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mixxx.h b/src/mixxx.h index c8e2fd43ec..386e86df07 100644 --- a/src/mixxx.h +++ b/src/mixxx.h @@ -19,6 +19,7 @@ #define MIXXX_H #include <QMainWindow> +#include <QSharedPointer> #include <QString> #include "preferences/configobject.h" @@ -48,6 +49,8 @@ class SoundManager; class VinylControlManager; class WMainMenuBar; +typedef QSharedPointer<SettingsManager> SettingsManagerPointer; + // This Class is the base class for Mixxx. It sets up the main // window and providing a menubar. // For the main view, an instance of class MixxxView is @@ -129,7 +132,7 @@ class MixxxMainWindow : public QMainWindow { QWidget* m_pWidgetParent; LaunchImage* m_pLaunchImage; - SettingsManager* m_pSettingsManager; + SettingsManagerPointer m_pSettingsManager; // The effects processing system EffectsManager* m_pEffectsManager; |