Commit c50bbc23 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some qt6 compile error

parent 8b507958
Pipeline #180758 passed with stage
in 3 minutes
......@@ -64,7 +64,7 @@ install(TARGETS
########### next target ###############
add_library(korganizer_kcm_static STATIC widgets/kitemiconcheckcombo.cpp prefs/kprefsdialog.cpp widgets/kitemiconcheckcombo.h prefs/kprefsdialog.h ${korganizer_common_SRCS})
set_property(TARGET korganizer_kcm_static PROPERTY POSITION_INDEPENDENT_CODE ON)
target_link_libraries(korganizer_kcm_static
KF5::AkonadiCalendar
KF5::CalendarSupport
......
......@@ -13,6 +13,7 @@
#include <Akonadi/Item>
#include <QDialog>
#include <QRegExp>
class QPushButton;
class CalendarView;
......
......@@ -13,7 +13,7 @@
#include <Akonadi/Collection>
#include <KCalendarCore/Attendee>
#include <KIdentityManagement/KIdentityManagement/IdentityManager>
#include <KIdentityManagement/IdentityManager>
class KJob;
......
......@@ -7,10 +7,10 @@
*/
#pragma once
#include <QStringList>
class QColor;
class QString;
class QTime;
class QStringList;
class QDate;
namespace KOrg
{
......
......@@ -42,9 +42,12 @@ KOrganizer::KOrganizer()
, KOrg::MainWindow()
, mCalendarView(new CalendarView(this))
{
// TODO verify how to port WA_GroupLeader to Qt6
#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);
#endif
KOCore::self()->addXMLGUIClient(this, this);
// setMinimumSize(600,400); // make sure we don't get resized too small...
......
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