summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-23 11:34:12 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-23 11:34:12 (GMT)
commita2780a0b72d048259905c66e3b0bf88848da1814 (patch)
tree55b68ee9d7ada8d1b723fc448e3359ef06105e05
parent7e8a66c90776a1b3390ce6435d3cc28b33aec6ea (diff)
Allow to show dialogbox
-rw-r--r--src/genericplugins/abstractgenericplugin.cpp3
-rw-r--r--src/genericplugins/abstractgenericplugin.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/genericplugins/abstractgenericplugin.cpp b/src/genericplugins/abstractgenericplugin.cpp
index 662a604..f350ea2 100644
--- a/src/genericplugins/abstractgenericplugin.cpp
+++ b/src/genericplugins/abstractgenericplugin.cpp
@@ -46,8 +46,9 @@ bool AbstractGenericPlugin::hasConfigureDialog() const
return false;
}
-void AbstractGenericPlugin::showConfigureDialog()
+void AbstractGenericPlugin::showConfigureDialog(QWidget *parent)
{
+ Q_UNUSED(parent);
//Reimplement it.
}
diff --git a/src/genericplugins/abstractgenericplugin.h b/src/genericplugins/abstractgenericplugin.h
index 9979fb0..b0b6e09 100644
--- a/src/genericplugins/abstractgenericplugin.h
+++ b/src/genericplugins/abstractgenericplugin.h
@@ -36,7 +36,7 @@ public:
virtual bool hasToolBarSupport() const;
virtual bool hasConfigureDialog() const;
- virtual void showConfigureDialog();
+ virtual void showConfigureDialog(QWidget *parent = Q_NULLPTR);
void setIsEnabled(bool enabled);
bool isEnabled() const;