Allow to use new kauth includes

This commit is contained in:
Laurent Montel 2022-02-24 07:14:23 +01:00
parent aaa07f0605
commit cf6cc51651

View file

@ -7,7 +7,12 @@
#include <KMessageBox>
#include <KLocalizedString>
#include <kauth_version.h>
#if KAUTH_VERSION >= QT_VERSION_CHECK(5, 92, 0)
#include <KAuth/Action>
#else
#include <KAuth/KAuthAction>
#endif
#include <QApplication>
#include <QCommandLineParser>
#include <QDebug>