Commit 0174d8b0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some qt6 compile error

parent e319f6a6
Pipeline #188748 passed with stage
in 1 minute and 6 seconds
......@@ -18,6 +18,7 @@ using namespace Kontact;
#include <KIconLoader>
#include <KLocalizedString>
#include <QAction>
#include <QActionGroup>
#include <QApplication>
#include <QIcon>
......
......@@ -79,9 +79,13 @@ MainWindow::MainWindow()
QDBusConnection::sessionBus().registerObject(QStringLiteral("/KontactInterface"), this, QDBusConnection::ExportScriptableSlots);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
// Set this to be the group leader for all subdialogs - this means
// modal subdialogs will only affect this dialog, not the other windows
setAttribute(Qt::WA_GroupLeader);
#else
#pragma "Port it"
#endif
initGUI();
initObject();
......
......@@ -6,6 +6,7 @@
#include "introductionwebenginepage.h"
#include <QFontDatabase>
#include <QFontInfo>
#include <QWebEngineProfile>
#include <QWebEngineSettings>
IntroductionWebEnginePage::IntroductionWebEnginePage(QObject *parent)
......
Supports Markdown
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