From 5905c1acda34d0c7a26c8ba34ae8a280431ece7e Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 26 Dec 2018 20:11:57 +0000 Subject: fixed regression git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8533 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/commandlinehandler.h | 1 + src/qmmpui/commandlinemanager.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/qmmpui') 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(); } } } -- cgit v1.2.3-13-gbd6f