bug fix with start minimized command line argument -> the hide command was not issued in that case
This commit is contained in:
parent
41804bf223
commit
1f685e1e77
1 changed files with 7 additions and 6 deletions
|
@ -115,12 +115,6 @@ CLlconServerDlg::CLlconServerDlg ( CServer* pNServP,
|
|||
"Country where the server is located combo box" ) );
|
||||
|
||||
|
||||
// act on "start minimized" flag
|
||||
if ( bStartMinimized )
|
||||
{
|
||||
showMinimized();
|
||||
}
|
||||
|
||||
// check if system tray icon can be used
|
||||
bSystemTrayIconAvaialbe = SystemTrayIcon.isSystemTrayAvailable();
|
||||
|
||||
|
@ -153,6 +147,13 @@ CLlconServerDlg::CLlconServerDlg ( CServer* pNServP,
|
|||
SystemTrayIcon.show();
|
||||
}
|
||||
|
||||
// act on "start minimized" flag (note, this has to be done after setting
|
||||
// the correct value for the system tray icon availablility)
|
||||
if ( bStartMinimized )
|
||||
{
|
||||
showMinimized();
|
||||
}
|
||||
|
||||
// set text for version and application name
|
||||
lblNameVersion->setText ( QString ( APP_NAME ) +
|
||||
tr ( " server " ) + QString ( VERSION ) );
|
||||
|
|
Loading…
Reference in a new issue