Qt/Properties: Implement "Gecko codes" tab

This commit is contained in:
spycrab
2017-09-10 19:10:45 +02:00
parent 5aecd61ede
commit f90e81b9db
12 changed files with 302 additions and 7 deletions

View File

@ -239,6 +239,9 @@ void GameList::ShowContextMenu(const QPoint&)
void GameList::OpenProperties()
{
PropertiesDialog* properties = new PropertiesDialog(this, *GetSelectedGame());
connect(properties, &PropertiesDialog::OpenGeneralSettings, this, &GameList::OpenGeneralSettings);
properties->show();
}

View File

@ -31,6 +31,7 @@ signals:
void GameSelected();
void NetPlayHost(const QString& game_id);
void SelectionChanged(QSharedPointer<GameFile> game_file);
void OpenGeneralSettings();
private:
void ShowContextMenu(const QPoint&);