aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/CommandLineOptions/SeekOption
diff options
context:
space:
mode:
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);