Commit d4493f74 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix some qt6 compile error

parent eb22ed53
......@@ -7,11 +7,10 @@
#ifndef CUTTLEFISHCOLORSCHEMES_H
#define CUTTLEFISHCOLORSCHEMES_H
#include <QAbstractItemModel>
#include <QObject>
#include <QString>
class QAbstractItemModel;
class KColorSchemeManager;
namespace CuttleFish
......
......@@ -122,6 +122,8 @@ int main(int argc, char **argv)
qmlRegisterAnonymousType<CuttleFish::IconModel>("org.kde.plasma.sdk", 1);
qmlRegisterAnonymousType<CuttleFish::ColorSchemes>("org.kde.plasma.sdk", 1);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
return app.exec();
}
......@@ -9,6 +9,7 @@
#include "ktreeviewsearchline.h"
#include <QActionGroup>
#include <QApplication>
#include <QContextMenuEvent>
#include <QHBoxLayout>
......
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