diff options
Diffstat (limited to 'src/qmmpui')
| -rw-r--r-- | src/qmmpui/commandlinehandler.h | 1 | ||||
| -rw-r--r-- | src/qmmpui/commandlinemanager.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/qmmpui/commandlinehandler.h b/src/qmmpui/commandlinehandler.h index 238f65afe..78e2262ed 100644 --- a/src/qmmpui/commandlinehandler.h +++ b/src/qmmpui/commandlinehandler.h @@ -43,6 +43,7 @@ public: * Object destructor */ virtual ~CommandLineHandler() {} + virtual void registerOprions() = 0; /*! * Returns command line plugin short name for internal usage. * Subclass should reimplement this function. diff --git a/src/qmmpui/commandlinemanager.cpp b/src/qmmpui/commandlinemanager.cpp index f91510f5e..1c56e7db4 100644 --- a/src/qmmpui/commandlinemanager.cpp +++ b/src/qmmpui/commandlinemanager.cpp @@ -67,6 +67,7 @@ void CommandLineManager::checkOptions() translator->load(option->translation() + Qmmp::systemLanguageID()); qApp->installTranslator(translator); } + option->registerOprions(); } } } |
