void MainWindow::on_installButton_clicked() { ManageWindow * window = new ManageWindow(this, *_games); #ifdef Q_WS_MAEMO_5 window->setAttribute(Qt::WA_Maemo5StackedWindow); window->setWindowFlags(Qt::Window); #endif window->show(); connect(window, SIGNAL(destroyed()), this, SLOT(UpdateLabels())); }
void MainWindow::on_manageButton_clicked() { ConnectorPath conPath( _connector, _curItemPath); ManageWindow* manageWindow = new ManageWindow( _appSettings, conPath, 0); manageWindow->show(); }