summary refs log tree commit diff
path: root/src/MainWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.cc')
-rw-r--r--src/MainWindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainWindow.cc b/src/MainWindow.cc

index 745fb210..e256e6c9 100644 --- a/src/MainWindow.cc +++ b/src/MainWindow.cc
@@ -204,7 +204,7 @@ MainWindow::removeOverlayProgressBar() }); // FIXME: Snackbar doesn't work if it's initialized in the constructor. - QTimer::singleShot(100, this, [this]() { + QTimer::singleShot(0, this, [this]() { snackBar_ = QSharedPointer<SnackBar>(new SnackBar(this)); connect(chat_page_, &ChatPage::showNotification,