Commit 3bb31703 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port to new auth includes

parent 3b1c5a03
Pipeline #141693 passed with stage
in 1 minute and 23 seconds
......@@ -11,7 +11,11 @@
#include "kalarm_debug.h"
#include <KLocalizedString>
#if KAUTH_VERSION >= QT_VERSION_CHECK(5, 92, 0)
#include <KAuth/ActionReply>
#else
#include <KAuthActionReply>
#endif
#include <QProcess>
#include <QDateTime>
......
......@@ -7,10 +7,11 @@
*/
#include <QObject>
#pragma once
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <KAuth>
#else
#include <kauth_version.h>
#if KAUTH_VERSION >= QT_VERSION_CHECK(5, 92, 0)
#include <KAuth/KAuth>
  • <KAuth/KAuth> is not what this should be now, instead explicitly include the headers of the classes used. See also the deprecation message printed by the old headers.

    (actually this change will still use the very same header as before...)

    Edited by Friedrich W. H. Kossebau
Please register or sign in to reply
#else
#include <KAuth>
#endif
using namespace KAuth;
......
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