Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/serverdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,13 @@ void CServerDlg::OnClearRecordingDirClicked()

void CServerDlg::OnSysTrayActivated ( QSystemTrayIcon::ActivationReason ActReason )
{
// on double click on the icon, show window in fore ground
#ifdef _WIN32
// on single or double click on the icon, show window in foreground for windows only
if ( ActReason == QSystemTrayIcon::Trigger || ActReason == QSystemTrayIcon::DoubleClick )
#else
// on double click on the icon, show window in foreground for all
if ( ActReason == QSystemTrayIcon::DoubleClick )
#endif
{
ShowWindowInForeground();
}
Expand Down
1 change: 1 addition & 0 deletions src/serverdlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class CServerDlg : public CBaseDlg, private Ui_CServerDlgBase
{
showNormal();
raise();
activateWindow();
}
void ModifyAutoStartEntry ( const bool bDoAutoStart );
void UpdateRecorderStatus ( QString sessionDir );
Expand Down