fixed warnings

This commit is contained in:
Volker Fischer 2019-04-12 18:04:28 +02:00
parent 8367ecc64f
commit 05a0ac60a6

View File

@ -493,7 +493,7 @@ int main ( int argc, char** argv )
strConnOnStartupAddress, strConnOnStartupAddress,
bShowComplRegConnList, bShowComplRegConnList,
bShowAnalyzerConsole, bShowAnalyzerConsole,
0, nullptr,
Qt::Window ); Qt::Window );
// show dialog // show dialog
@ -544,7 +544,7 @@ int main ( int argc, char** argv )
CServerDlg ServerDlg ( &Server, CServerDlg ServerDlg ( &Server,
&Settings, &Settings,
bStartMinimized, bStartMinimized,
0, nullptr,
Qt::Window ); Qt::Window );
// show dialog (if not the minimized flag is set) // show dialog (if not the minimized flag is set)
@ -573,11 +573,11 @@ int main ( int argc, char** argv )
// show generic error // show generic error
if ( bUseGUI ) if ( bUseGUI )
{ {
QMessageBox::critical ( 0, QMessageBox::critical ( nullptr,
APP_NAME, APP_NAME,
generr.GetErrorText(), generr.GetErrorText(),
"Quit", "Quit",
0 ); nullptr );
} }
else else
{ {