Commit 39b8c007 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compile without kf5 deprecated methods

parent 90b573c1
......@@ -41,6 +41,7 @@ add_definitions(
-DQT_USE_QSTRINGBUILDER
)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
add_subdirectory(src)
add_subdirectory(data)
add_subdirectory(doc)
......
......@@ -79,7 +79,7 @@ int main(int argc, char *argv[])
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kigo")));
if (app.isSessionRestored()) {
RESTORE(Kigo::MainWindow)
kRestoreMainWindows<Kigo::MainWindow>();
} else {
QString game;
......
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