Ignore Plasma deprecation warnings to still be able to treat warnings as errors

Not sure how to fix the errors because Plasma's own applets haven't been
ported yet.
This commit is contained in:
Martchus 2021-09-16 22:58:52 +02:00
parent b7a8a73f2a
commit da470c4ddc
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@
#include <qtutilities/aboutdialog/aboutdialog.h>
#include <qtutilities/models/checklistmodel.h>
// ignore Plasma deprecation warnings because I'm not sure how to fix them considering Plasma's own applets
// haven't been ported yet
#define PLASMA_NO_DEPRECATED_WARNINGS 1
#include <Plasma/Applet>
#include <QSize>