From cd2fefca1928f374c302c275efcc0bbaf36357bb Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Fri, 7 Jun 2019 22:24:43 -0400 Subject: save steam app id, custom overwrite and application icon custom overwrite directories now set locally, will be written to profile when closing the dialog --- src/editexecutablesdialog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/editexecutablesdialog.h') diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index f28658e3..8ee56e3e 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -64,10 +64,10 @@ private slots: void on_add_clicked(); void on_remove_clicked(); + void on_title_textChanged(const QString& s); void on_overwriteSteamAppID_toggled(bool checked); void on_createFilesInMod_toggled(bool checked); void on_forceLoadLibraries_toggled(bool checked); - void on_useApplicationIcon_toggled(bool checked); void on_browseBinary_clicked(); void on_browseWorkingDirectory_clicked(); @@ -81,6 +81,7 @@ private slots: private: std::unique_ptr ui; ExecutablesList m_executablesList; + std::map m_customOverwrites; Profile *m_profile; const MOBase::IPluginGame *m_gamePlugin; bool m_settingUI; @@ -92,18 +93,17 @@ private: QListWidgetItem* selectedItem(); Executable* selectedExe(); + void fillExecutableList(); void updateUI(const Executable* e); void clearEdits(); void setEdits(const Executable& e); void save(); void resetInput(); - void refreshExecutablesWidget(); bool executableChanged(); void updateButtonStates(); void saveExecutable(); - void onTitleChanged(const QString& s); }; #endif // EDITEXECUTABLESDIALOG_H -- cgit v1.3.1