Commit 91e45523 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use new API

parent de4019a1
Pipeline #123919 passed with stage
in 1 minute and 5 seconds
......@@ -52,7 +52,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
find_package(KF5KDEGames 7.3.0 REQUIRED)
find_package(KF5KDEGames 7.3.1 REQUIRED)
......@@ -443,11 +443,12 @@ void MainWindow::configureAppearance()
KgThemeProvider* provider = Renderer::self()->themeProvider();
dialog->addPage( new KgThemeSelector(provider, KgThemeSelector::EnableNewStuffDownload, this),
auto themeSelector = new KgThemeSelector(provider, KgThemeSelector::EnableNewStuffDownload, this);
i18n("Game Theme"),
i18n("Select a theme for non-card game elements")
i18n("Select a theme for non-card game elements"));
connect(provider, &KgThemeProvider::currentThemeChanged, this, &MainWindow::appearanceChanged);
connect(dialog, &KConfigDialog::settingsChanged, this, &MainWindow::appearanceChanged);
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