aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/general.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/general.cpp')
-rw-r--r--src/qmmpui/general.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmpui/general.cpp b/src/qmmpui/general.cpp
index e47e23ec7..a09a9cd72 100644
--- a/src/qmmpui/general.cpp
+++ b/src/qmmpui/general.cpp
@@ -97,7 +97,7 @@ QList<GeneralFactory *> General::enabledFactories()
return list;
}
-QString General::file(GeneralFactory *factory)
+QString General::file(const GeneralFactory *factory)
{
loadPlugins();
foreach(QmmpUiPluginCache *item, *m_cache)
@@ -158,7 +158,7 @@ void General::showSettings(GeneralFactory* factory, QWidget* parentWidget)
dialog->deleteLater();
}
-bool General::isEnabled(GeneralFactory* factory)
+bool General::isEnabled(const GeneralFactory *factory)
{
loadPlugins();
return m_enabledNames.contains(factory->properties().shortName);