Fix quitting without tray icon
Setting KSNI status to Passive doesn't *disable* the tray icon, it just moves it to the overflow menu. This causes the application to not quit when closing the app even when disabling the tray icon
This commit is contained in:
@@ -19,6 +19,7 @@ class QKeySequences;
|
||||
|
||||
class NeoChatRoom;
|
||||
class NeoChatUser;
|
||||
class TrayIcon;
|
||||
class QQuickWindow;
|
||||
|
||||
namespace QKeychain
|
||||
@@ -100,6 +101,7 @@ private:
|
||||
|
||||
QPointer<Connection> m_connection;
|
||||
bool m_busy = false;
|
||||
TrayIcon *m_trayIcon = nullptr;
|
||||
|
||||
static QByteArray loadAccessTokenFromFile(const AccountSettings &account);
|
||||
QKeychain::ReadPasswordJob *loadAccessTokenFromKeyChain(const AccountSettings &account);
|
||||
|
||||
Reference in New Issue
Block a user