summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/preferences/preferences_language.cpp2
-rw-r--r--desktop-widgets/templatelayout.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferences_language.cpp b/desktop-widgets/preferences/preferences_language.cpp
index f2519ef2c..46e65722d 100644
--- a/desktop-widgets/preferences/preferences_language.cpp
+++ b/desktop-widgets/preferences/preferences_language.cpp
@@ -4,7 +4,7 @@
#include "core/qthelper.h"
#include "core/settings/qPrefLanguage.h"
-#include <QApplication>
+#include <QDir>
#include <QMessageBox>
#include <QSortFilterProxyModel>
diff --git a/desktop-widgets/templatelayout.cpp b/desktop-widgets/templatelayout.cpp
index 94cf322f0..f1454ac6e 100644
--- a/desktop-widgets/templatelayout.cpp
+++ b/desktop-widgets/templatelayout.cpp
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
+#include <QDir>
+#include <QFile>
#include <QFileDevice>
#include <QRegularExpression>
#include <QTextStream>