Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code style issue from #1731 #1828

Merged
merged 1 commit into from
Jun 4, 2021
Merged
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
6 changes: 3 additions & 3 deletions src/serverdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,13 +593,13 @@ void CServerDlg::OnClearRecordingDirClicked()

void CServerDlg::OnSysTrayActivated ( QSystemTrayIcon::ActivationReason ActReason )
{
#ifdef _WIN32
#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
#else
// on double click on the icon, show window in foreground for all
if ( ActReason == QSystemTrayIcon::DoubleClick )
#endif
#endif
{
ShowWindowInForeground();
}
Expand Down