diff options
| author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-15 20:58:10 +0300 |
|---|---|---|
| committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-15 20:58:10 +0300 |
| commit | fde066e2369f50ebfa275cbc55e4c84ac88a0214 (patch) | |
| tree | e2ff5abe4c4611d7bbb37fb20f3ca53ad4842d67 /src | |
| parent | De-duplicate the m.room.encryption event (diff) | |
| download | nheko-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')
| -rw-r--r-- | src/CommunitiesList.cc | 2 | ||||
| -rw-r--r-- | src/dialogs/PreviewUploadOverlay.cc | 14 |
2 files changed, 12 insertions, 4 deletions
diff --git a/src/CommunitiesList.cc b/src/CommunitiesList.cc |
