aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/CommandLineOptions/SeekOption
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-12-26 20:11:57 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-12-26 20:11:57 +0000
commit5905c1acda34d0c7a26c8ba34ae8a280431ece7e (patch)
tree0761d1a9ca5b7327512ddcdb1c4c0875e2ade375 /src/plugins/CommandLineOptions/SeekOption
parentc28061c4cf64e468dd3e230df1b96d1a72e295fd (diff)
downloadqmmp-5905c1acda34d0c7a26c8ba34ae8a280431ece7e.tar.gz
qmmp-5905c1acda34d0c7a26c8ba34ae8a280431ece7e.tar.bz2
qmmp-5905c1acda34d0c7a26c8ba34ae8a280431ece7e.zip
fixed regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8533 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/CommandLineOptions/SeekOption')
-rw-r--r--src/plugins/CommandLineOptions/SeekOption/seekoption.cpp2
-rw-r--r--src/plugins/CommandLineOptions/SeekOption/seekoption.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/CommandLineOptions/SeekOption/seekoption.cpp b/src/plugins/CommandLineOptions/SeekOption/seekoption.cpp
index 89296c2ea..5515798ed 100644
--- a/src/plugins/CommandLineOptions/SeekOption/seekoption.cpp
+++ b/src/plugins/CommandLineOptions/SeekOption/seekoption.cpp
@@ -24,7 +24,7 @@
#include <qmmp/soundcore.h>
#include "seekoption.h"
-SeekOption::SeekOption()
+void SeekOption::registerOprions()
{
registerOption(SEEK, "--seek", tr("Seek to position in the current track"), QStringList() << "time");
registerOption(SEEK_FWD, "--seek-fwd", tr("Seek forward"), QStringList() << "time");
diff --git a/src/plugins/CommandLineOptions/SeekOption/seekoption.h b/src/plugins/CommandLineOptions/SeekOption/seekoption.h
index 104f1b146..276f2a1ab 100644
--- a/src/plugins/CommandLineOptions/SeekOption/seekoption.h
+++ b/src/plugins/CommandLineOptions/SeekOption/seekoption.h
@@ -34,7 +34,7 @@ Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qmmp.qmmpui.CommandLineHandlerInterface.1.0")
Q_INTERFACES(CommandLineHandler)
public:
- SeekOption();
+ void registerOprions();
QString shortName() const;
QString translation() const;
QString executeCommand(int id, const QStringList &args);