summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-02 05:49:10 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-02 05:49:10 (GMT)
commit6af7ca72887b45cb20bda8d469a0203cdc2be90c (patch)
tree50d72d7c7d22d6fe20cad825bd29f37b6e15f2a8
parente11ff25b73aff4d401115df1927bfe239b3b4498 (diff)
This plugins doesn't have default button
-rw-r--r--CMakeLists.txt2
-rw-r--r--plugins/messageviewerplugins/externalscriptplugin/configuredialog/viewerpluginexternalconfiguredialog.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb2805b..b04845d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,7 +58,7 @@ find_package(KF5Declarative ${KF5_VERSION} CONFIG REQUIRED)
set(MAILCOMMON_LIB_VERSION "5.3.40")
set(GRAVATAR_LIB_VERSION "5.3.40")
-set(PIMCOMMON_LIB_VERSION "5.3.58")
+set(PIMCOMMON_LIB_VERSION "5.3.60")
set(GRANTLEETHEME_LIB_VERSION "5.3.40")
set(CALENDARSUPPORT_LIB_VERSION "5.3.40")
set(EVENTVIEW_LIB_VERSION "5.3.40")
diff --git a/plugins/messageviewerplugins/externalscriptplugin/configuredialog/viewerpluginexternalconfiguredialog.cpp b/plugins/messageviewerplugins/externalscriptplugin/configuredialog/viewerpluginexternalconfiguredialog.cpp
index 6a5b4d5..b401a32 100644
--- a/plugins/messageviewerplugins/externalscriptplugin/configuredialog/viewerpluginexternalconfiguredialog.cpp
+++ b/plugins/messageviewerplugins/externalscriptplugin/configuredialog/viewerpluginexternalconfiguredialog.cpp
@@ -20,12 +20,15 @@
#include "viewerpluginexternalconfiguredialog.h"
#include "viewerpluginexternalconfigurewidget.h"
#include <KLocalizedString>
+#include <QDialogButtonBox>
+#include <QPushButton>
ViewerPluginExternalConfigureDialog::ViewerPluginExternalConfigureDialog(QWidget *parent)
: PimCommon::ConfigurePluginDialog(parent)
{
setWindowTitle(i18n("Configure \"External Script\" Plugin"));
initLayout();
+ buttonBox()->button(QDialogButtonBox::RestoreDefaults)->hide();
}
ViewerPluginExternalConfigureDialog::~ViewerPluginExternalConfigureDialog()