mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
qt: save gui settings to separate file (#2984)
* initial save classes for gui save file * fixup * some more settings passed to the new saving file * even more variables parsing * more settings * fixup * more settings * more settings * clang fix * fixed wrong setting * more setting * more setting * added ca_ES * rename to general_settings * added set-addon-folder in main * fixup * fixup2 * added sr_CS * Update CMakeLists.txt --------- Co-authored-by: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com>
This commit is contained in:
@@ -8,12 +8,14 @@
|
||||
#include <QDialog>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QPushButton>
|
||||
#include "gui_settings.h"
|
||||
|
||||
class CheckUpdate : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CheckUpdate(const bool showMessage, QWidget* parent = nullptr);
|
||||
explicit CheckUpdate(std::shared_ptr<gui_settings> gui_settings, const bool showMessage,
|
||||
QWidget* parent = nullptr);
|
||||
~CheckUpdate();
|
||||
|
||||
private slots:
|
||||
@@ -35,6 +37,7 @@ private:
|
||||
QString updateDownloadUrl;
|
||||
|
||||
QNetworkAccessManager* networkManager;
|
||||
std::shared_ptr<gui_settings> m_gui_settings;
|
||||
};
|
||||
|
||||
#endif // CHECKUPDATE_H
|
||||
|
||||
Reference in New Issue
Block a user