2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix crash with event loop nesting tracking.

This commit is contained in:
John Preston
2019-04-12 17:21:01 +04:00
parent cc8f4aa24f
commit 7cfb122dea
7 changed files with 27 additions and 13 deletions

View File

@@ -132,7 +132,6 @@ public slots:
void quitFromTray();
void showFromTray(QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Unknown);
void toggleTray(QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Unknown);
void toggleDisplayNotifyFromTray();
void onClearFinished(int task, void *manager);
@@ -150,6 +149,9 @@ signals:
private:
[[nodiscard]] bool skipTrayClick() const;
void handleTrayIconActication(
QSystemTrayIcon::ActivationReason reason) override;
void hideMediaPreview();
void ensureLayerCreated();
void destroyLayer();