summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/kitconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/kitconfigwidget.cpp')
-rw-r--r--src/plugins/projectexplorer/kitconfigwidget.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/kitconfigwidget.cpp b/src/plugins/projectexplorer/kitconfigwidget.cpp
index e0eb8264a4..7e8a8ab756 100644
--- a/src/plugins/projectexplorer/kitconfigwidget.cpp
+++ b/src/plugins/projectexplorer/kitconfigwidget.cpp
@@ -59,4 +59,20 @@ QString KitConfigWidget::msgManage()
return tr("Manage...");
}
+void KitConfigWidget::setPalette(const QPalette &p)
+{
+ if (mainWidget())
+ mainWidget()->setPalette(p);
+ if (buttonWidget())
+ buttonWidget()->setPalette(p);
+}
+
+void KitConfigWidget::setStyle(QStyle *s)
+{
+ if (mainWidget())
+ mainWidget()->setStyle(s);
+ if (buttonWidget())
+ buttonWidget()->setStyle(s);
+}
+
} // namespace ProjectExplorer