summary refs log tree commit diff
path: root/src/CommunitiesList.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-15 20:58:10 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-15 20:58:10 +0300
commitfde066e2369f50ebfa275cbc55e4c84ac88a0214 (patch)
treee2ff5abe4c4611d7bbb37fb20f3ca53ad4842d67 /src/CommunitiesList.cc
parentDe-duplicate the m.room.encryption event (diff)
downloadnheko-fde066e2369f50ebfa275cbc55e4c84ac88a0214.tar.xz
Use MainWindow instead of QApplication::activeWindow to reference the main window
The latter will not always return a valid pointer.

fixes #363
Diffstat (limited to 'src/CommunitiesList.cc')
-rw-r--r--src/CommunitiesList.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CommunitiesList.cc b/src/CommunitiesList.cc

index f2fb0438..822ca1d2 100644 --- a/src/CommunitiesList.cc +++ b/src/CommunitiesList.cc
@@ -1,5 +1,5 @@ -#include "Cache.h" #include "CommunitiesList.h" +#include "Cache.h" #include "Logging.hpp" #include "MatrixClient.h"