Commit 492ab3ac authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use correct flags (found when I tried to build against qt5.15)

parent 1ce33d8c
......@@ -184,7 +184,7 @@ void KBounceMainWindow::configureSettings()
if ( KConfigDialog::showDialog( QStringLiteral("settings") ) ) return;
KConfigDialog* dialog = new KConfigDialog( this, QStringLiteral("settings"), KBounceSettings::self());
dialog->addPage( new KgThemeSelector(m_gameWidget->renderer()->themeProvider(), 0, dialog), i18n( "Theme" ), QStringLiteral("games-config-theme") );
dialog->addPage( new KgThemeSelector(m_gameWidget->renderer()->themeProvider(), KgThemeSelector::DefaultBehavior, dialog), i18n( "Theme" ), QStringLiteral("games-config-theme") );
dialog->addPage( new BackgroundSelector(dialog,KBounceSettings::self() ),i18n("Background"),QStringLiteral("games-config-background"));
dialog->show();
connect( dialog, &KConfigDialog::settingsChanged, this, &KBounceMainWindow::settingsChanged );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment