connect(routeDialog,SIGNAL(sendroute()),this,SLOT(clientSendRoute()));
routeSaveDialog = new RouteSaveDialog;
+ helpDialog = NULL;
settingsDialog = new SettingsDialog;
connect(settingsDialog,SIGNAL(sendregistration()),this,SLOT(clientRegUserToServer()));
accstart = NULL;
- creditsDialog = new CreditsDialog;
+ //creditsDialog = new CreditsDialog;
welcomeDialog = new WelcomeDialog;
welcomeDialog->show();
*/
void MainWindow::on_pushButtonCredits_clicked()
{
- creditsDialog->show();
+ if(!helpDialog)
+ helpDialog = new HelpDialog;
+ helpDialog->show();
+ //creditsDialog->show();
}
/**