bug fixes

This commit is contained in:
Volker Fischer 2011-05-08 15:33:01 +00:00
parent 73dc8e1d77
commit 0d81a824f9

View file

@ -106,15 +106,11 @@ CLlconServerDlg::CLlconServerDlg ( CServer* pNServP,
"Country where the server is located combo box" ) ); "Country where the server is located combo box" ) );
// act on "start minimized" flag
// TODO does not work! if ( bStartMinimized )
// act on "start minimized" flag {
if ( bStartMinimized ) showMinimized();
{ }
hide();
}
// check if system tray icon can be used // check if system tray icon can be used
bSystemTrayIconAvaialbe = SystemTrayIcon.isSystemTrayAvailable(); bSystemTrayIconAvaialbe = SystemTrayIcon.isSystemTrayAvailable();
@ -514,7 +510,7 @@ void CLlconServerDlg::ModifyAutoStartEntry ( const bool bDoAutoStart )
// create start string of auto run entry // create start string of auto run entry
QString strRegValue = QString strRegValue =
QCoreApplication::applicationFilePath().replace ( "/", "\\" ) + QCoreApplication::applicationFilePath().replace ( "/", "\\" ) +
" --startminimized"; " -s --startminimized";
#endif #endif
if ( bDoAutoStart ) if ( bDoAutoStart )