removed some unnecessary code

This commit is contained in:
Volker Fischer 2016-03-06 10:09:41 +00:00
parent 600d5f6832
commit 403bf81f2a

View file

@ -34,10 +34,6 @@
// Implementation **************************************************************
// these pointers are only used for the post-event routine
QApplication* pApp = NULL;
QDialog* pMainWindow = NULL;
int main ( int argc, char** argv )
{
@ -433,10 +429,6 @@ int main ( int argc, char** argv )
0,
Qt::Window );
// set main window
pMainWindow = &ClientDlg;
pApp = &app; // needed for post-event routine
// show dialog
ClientDlg.show();
app.exec();
@ -488,10 +480,6 @@ int main ( int argc, char** argv )
0,
Qt::Window );
// set main window
pMainWindow = &ServerDlg;
pApp = &app; // needed for post-event routine
// show dialog (if not the minimized flag is set)
if ( !bStartMinimized )
{