Commit d9757867 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use new API

parent a4472f5b
Pipeline #123746 passed with stage
in 1 minute and 23 seconds
......@@ -60,7 +60,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Plasma
)
find_package(KF5KDEGames 4.9.0 REQUIRED)
find_package(KF5KDEGames 7.3.1 REQUIRED)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
......
......@@ -465,7 +465,8 @@ void MainWindow::optionsPreferences() {
// ui_prefs_access.setupUi(accessDlg);
// dialog->addPage(accessDlg, i18n("Accessibility"), QLatin1String("preferences-desktop-accessibility"));
QWidget* themeDlg = new KgThemeSelector(m_themeProvider, KgThemeSelector::EnableNewStuffDownload, dialog);
KgThemeSelector* themeDlg = new KgThemeSelector(m_themeProvider, KgThemeSelector::EnableNewStuffDownload, dialog);
themeDlg->setNewStuffConfigFileName(QStringLiteral("knights.knsrc"));
dialog->addPage(themeDlg, i18n("Theme"), QStringLiteral("games-config-theme"));
dialog->setAttribute(Qt::WA_DeleteOnClose);
......
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