diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-09-09 19:45:15 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-09-09 19:45:15 +0000 |
| commit | 0e860ae0ba0c6ed9f14b9d01a28b44ae64d91532 (patch) | |
| tree | 33da2a2b96d40e270b4bbe3a124bdf7e23b788f5 /src/ui/builtincommandlineoption.cpp | |
| parent | 3188ada336102df3bf8d77cdafdab1a8f65f4d86 (diff) | |
| download | qmmp-0e860ae0ba0c6ed9f14b9d01a28b44ae64d91532.tar.gz qmmp-0e860ae0ba0c6ed9f14b9d01a28b44ae64d91532.tar.bz2 qmmp-0e860ae0ba0c6ed9f14b9d01a28b44ae64d91532.zip | |
new libqmmp api, a lot of features has been temporary disabled
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@546 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/builtincommandlineoption.cpp')
| -rw-r--r-- | src/ui/builtincommandlineoption.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/builtincommandlineoption.cpp b/src/ui/builtincommandlineoption.cpp index e35914f34..32e22fb96 100644 --- a/src/ui/builtincommandlineoption.cpp +++ b/src/ui/builtincommandlineoption.cpp @@ -92,13 +92,13 @@ void BuiltinCommandLineOption::executeCommand(const QString & option_string, Mai else if (option_string == "--next") { mw->next(); - if (!mw->soundCore()->isInitialized()) + if (mw->soundCore()->state() == Qmmp::Stopped) mw->play(); } else if (option_string == "--previous") { mw->previous(); - if (!mw->soundCore()->isInitialized()) + if (mw->soundCore()->state() == Qmmp::Stopped) mw->play(); } else if (option_string == "--play-pause") |
