removed some unnecessary code
This commit is contained in:
parent
600d5f6832
commit
403bf81f2a
1 changed files with 0 additions and 12 deletions
12
src/main.cpp
12
src/main.cpp
|
@ -34,10 +34,6 @@
|
||||||
|
|
||||||
|
|
||||||
// Implementation **************************************************************
|
// Implementation **************************************************************
|
||||||
// these pointers are only used for the post-event routine
|
|
||||||
QApplication* pApp = NULL;
|
|
||||||
QDialog* pMainWindow = NULL;
|
|
||||||
|
|
||||||
|
|
||||||
int main ( int argc, char** argv )
|
int main ( int argc, char** argv )
|
||||||
{
|
{
|
||||||
|
@ -433,10 +429,6 @@ int main ( int argc, char** argv )
|
||||||
0,
|
0,
|
||||||
Qt::Window );
|
Qt::Window );
|
||||||
|
|
||||||
// set main window
|
|
||||||
pMainWindow = &ClientDlg;
|
|
||||||
pApp = &app; // needed for post-event routine
|
|
||||||
|
|
||||||
// show dialog
|
// show dialog
|
||||||
ClientDlg.show();
|
ClientDlg.show();
|
||||||
app.exec();
|
app.exec();
|
||||||
|
@ -488,10 +480,6 @@ int main ( int argc, char** argv )
|
||||||
0,
|
0,
|
||||||
Qt::Window );
|
Qt::Window );
|
||||||
|
|
||||||
// set main window
|
|
||||||
pMainWindow = &ServerDlg;
|
|
||||||
pApp = &app; // needed for post-event routine
|
|
||||||
|
|
||||||
// show dialog (if not the minimized flag is set)
|
// show dialog (if not the minimized flag is set)
|
||||||
if ( !bStartMinimized )
|
if ( !bStartMinimized )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue