Originally Posted by tho97 connect (mainWindow, SIGNAL(close()), this, SLOT(stopgui())); You don't initialize mainWindow. Another problem is that you should create that connection for every new MainWindow object you create. So the easiest solution is to move this line to ServerDialog::gui().
Forum Rules
Bookmarks