mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
DolphinQt2: make Settings a singleton
With this, we can get signals when properties change.
This commit is contained in:
parent
95ef785b1f
commit
548522877a
15 changed files with 109 additions and 89 deletions
|
@ -67,7 +67,7 @@ void SettingsWindow::MakeUnfinishedWarning()
|
|||
|
||||
void SettingsWindow::AddCategoryToList(const QString& title, const QString& icon)
|
||||
{
|
||||
QString dir = Settings().GetThemeDir();
|
||||
QString dir = Settings::Instance().GetThemeDir();
|
||||
QListWidgetItem* button = new QListWidgetItem();
|
||||
button->setIcon(QIcon(dir.append(icon)));
|
||||
button->setText(title);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue