aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-13 14:01:01 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-13 14:01:01 +0200
commit29ba3288d0d342e79d14676a02af555c6d43c3e6 (patch)
treeb4201b61782df21cf22fa8efad8619d1e9f2adb5 /src/mainwindow
parentUpdate readme (diff)
downloadsmolbote-29ba3288d0d342e79d14676a02af555c6d43c3e6.tar.xz
unstable: KWallet integration
Diffstat (limited to 'src/mainwindow')
-rw-r--r--src/mainwindow/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp
index 1f81b86..b0c5e5e 100644
--- a/src/mainwindow/mainwindow.cpp
+++ b/src/mainwindow/mainwindow.cpp
@@ -37,7 +37,7 @@
#include <configuration/configuration.h>
#include <web/profilemanager.h>
#include <web/webprofile.h>
-#ifdef PLASMA_BLUR
+#ifdef PLASMA
#include <KWindowEffects>
#endif
@@ -76,7 +76,7 @@ MainWindow::MainWindow(const std::unique_ptr<Configuration> &config, QWidget *pa
ui->setupUi(this);
-#ifdef PLASMA_BLUR
+#ifdef PLASMA
setAttribute(Qt::WA_TranslucentBackground, true);
KWindowEffects::enableBlurBehind(this->winId(), true);
#endif