summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlviewer')
-rw-r--r--tools/qmlviewer/qmlviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp
index b6ce619..6de1b97 100644
--- a/tools/qmlviewer/qmlviewer.cpp
+++ b/tools/qmlviewer/qmlviewer.cpp
@@ -505,7 +505,7 @@ void QmlViewer::setRecordFile(const QString& f)
bool QmlViewer::event(QEvent *event)
{
if (event->type() == QEvent::PaletteChange) {
- setupPalette();
+ setupPalettes();
return true;
}
return QWidget::event(event);