Browse Source

Delete qApp on exit

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
65b8d0c24d
  1. 3
      src/main.cpp

3
src/main.cpp

@ -358,10 +358,7 @@ int main(int argc, char *argv[]){
delete loader; delete loader;
#endif #endif
qDebug("Deleting app..."); qDebug("Deleting app...");
#ifndef Q_WS_WIN
// XXX: Why does it crash on Windows!?
delete app; delete app;
#endif
qDebug("App was deleted! All good."); qDebug("App was deleted! All good.");
return ret; return ret;
} }

Loading…
Cancel
Save