aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow/mainwindow.cpp')
-rw-r--r--src/mainwindow/mainwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp
index cb7fee6..e465a4f 100644
--- a/src/mainwindow/mainwindow.cpp
+++ b/src/mainwindow/mainwindow.cpp
@@ -37,7 +37,8 @@
#include "configuration.h"
#include "profilemanager.h"
#include "webprofile.h"
-#ifdef PLASMA
+#include "config.h"
+#ifdef CONFIG_PLASMA_BLUR
#include <KWindowEffects>
#endif
@@ -76,7 +77,7 @@ MainWindow::MainWindow(const std::unique_ptr<Configuration> &config, QWidget *pa
ui->setupUi(this);
-#ifdef PLASMA
+#ifdef CONFIG_PLASMA_BLUR
setAttribute(Qt::WA_TranslucentBackground, true);
KWindowEffects::enableBlurBehind(this->winId(), true);
#endif