diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-12-14 17:50:55 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-12-14 17:50:55 +0000 |
| commit | 76c758e8f46567c20689e6e666c4a3aa32c17dbc (patch) | |
| tree | 97fcb6e36ba81a516906787fce2480156e20f52b /src/qmmpui/qmmpuisettings.cpp | |
| parent | 92f1159a134f4d9dbd93176107afc48e4f77cb81 (diff) | |
| download | qmmp-76c758e8f46567c20689e6e666c4a3aa32c17dbc.tar.gz qmmp-76c758e8f46567c20689e6e666c4a3aa32c17dbc.tar.bz2 qmmp-76c758e8f46567c20689e6e666c4a3aa32c17dbc.zip | |
fixed regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3961 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/qmmpuisettings.cpp')
| -rw-r--r-- | src/qmmpui/qmmpuisettings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmmpui/qmmpuisettings.cpp b/src/qmmpui/qmmpuisettings.cpp index 46be8610c..a05c811ee 100644 --- a/src/qmmpui/qmmpuisettings.cpp +++ b/src/qmmpui/qmmpuisettings.cpp @@ -28,6 +28,8 @@ QmmpUiSettings *QmmpUiSettings::m_instance = 0; QmmpUiSettings::QmmpUiSettings(QObject *parent) : QObject(parent) { + if(m_instance) + qFatal("QmmpUiSettings: only one instance is allowed"); m_instance = this; QSettings s (Qmmp::configFile(), QSettings::IniFormat); s.beginGroup("PlayList"); |
