HostInterface: Share settings between SDL and Qt frontends

This commit is contained in:
Connor McLaughlin
2020-01-24 14:51:03 +10:00
parent 2c3a0a6af9
commit b3db3a1cc0
5 changed files with 14 additions and 8 deletions

View File

@ -22,7 +22,7 @@ Log_SetChannel(QtHostInterface);
#endif
QtHostInterface::QtHostInterface(QObject* parent)
: QObject(parent), m_qsettings("duckstation-qt.ini", QSettings::IniFormat)
: QObject(parent), HostInterface(), m_qsettings(QString::fromStdString(GetSettingsFileName()), QSettings::IniFormat)
{
checkSettings();
createGameList();