Commit 1f92afb4 authored by Laurent Montel's avatar Laurent Montel 😁

It compiles fine without deprecated methods

parent d2b3da7c
......@@ -49,6 +49,7 @@ configure_file(
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
add_definitions(
......
......@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
if (app.isSessionRestored())
{
RESTORE(KmagApp);
kRestoreMainWindows<KmagApp>();
}
else
{
......
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