Commit 03b1cab2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile without depercated method

parent 2bdfa2a7
Pipeline #146707 passed with stage
in 3 minutes and 35 seconds
......@@ -123,7 +123,7 @@ configure_file(src/config-kalarm.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kala
include_directories(${kalarm_SOURCE_DIR} ${kalarm_BINARY_DIR})
add_definitions(-DQT_MESSAGELOGCONTEXT)
ecm_set_disabled_deprecation_versions(QT 5.15.2 KF 5.91.0)
ecm_set_disabled_deprecation_versions(QT 5.15.2 KF 5.92.0)
option(USE_UNITY_CMAKE_SUPPORT "Use UNITY cmake support (speedup compile time)" OFF)
......
......@@ -44,7 +44,14 @@ using namespace KCalendarCore;
#include <KSharedConfig>
#include <KToggleAction>
#include <KLocalizedString>
#include <kauth_version.h>
#if KAUTH_VERSION >= QT_VERSION_CHECK(5, 92, 0)
#include <KAuth/ActionReply>
#include <KAuth/ExecuteJob>
#else
#include <KAuth>
#endif
#include <KStandardShortcut>
#include <KFileItem>
#include <KJobWidgets>
......
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