bug fixes

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

View file

@ -106,16 +106,12 @@ CLlconServerDlg::CLlconServerDlg ( CServer* pNServP,
"Country where the server is located combo box" ) ); "Country where the server is located combo box" ) );
// TODO does not work!
// act on "start minimized" flag // act on "start minimized" flag
if ( bStartMinimized ) if ( bStartMinimized )
{ {
hide(); showMinimized();
} }
// 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 )