diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-06-22 02:47:58 +0200 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-06-22 02:47:58 +0200 |
| commit | 1f9103c24e1a9bc929507bd67814df3973c9e1db (patch) | |
| tree | 481698c1afd807862203d6258bc97008690013ac /src/settings.cpp | |
| parent | 2d49ba2bef029d753c1afb923be887c7276d94f3 (diff) | |
Added the path of the managed game in the settings menu under the path tab, it's read only for now as allowing the user to change it would probably require a lot more work.
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 2bcf2d02..db4ea565 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -712,9 +712,10 @@ Settings::PathsTab::PathsTab(Settings *parent, SettingsDialog &dialog) , m_cacheDirEdit(m_dialog.findChild<QLineEdit *>("cacheDirEdit")) , m_profilesDirEdit(m_dialog.findChild<QLineEdit *>("profilesDirEdit")) , m_overwriteDirEdit(m_dialog.findChild<QLineEdit *>("overwriteDirEdit")) + , m_managedGameDirEdit(m_dialog.findChild<QLineEdit *>("managedGameDirEdit")) { m_baseDirEdit->setText(m_parent->getBaseDirectory()); - + m_managedGameDirEdit->setText(m_parent->m_GamePlugin->gameDirectory().absoluteFilePath(m_parent->m_GamePlugin->binaryName())); QString basePath = parent->getBaseDirectory(); QDir baseDir(basePath); for (const auto &dir : { |
