Qt: Fix swapped parameter order in patch info

This commit is contained in:
Stenzek 2025-05-18 12:47:03 +10:00
parent 5e339c8975
commit 0ee3f235b6
No known key found for this signature in database
2 changed files with 4 additions and 5 deletions

View File

@ -15,9 +15,8 @@
#include <algorithm>
GamePatchDetailsWidget::GamePatchDetailsWidget(std::string name, const std::string& author,
const std::string& description, bool enabled,
bool disallowed_for_achievements, SettingsWindow* dialog,
QWidget* parent)
const std::string& description, bool disallowed_for_achievements,
bool enabled, SettingsWindow* dialog, QWidget* parent)
: QWidget(parent), m_dialog(dialog), m_name(name)
{
m_ui.setupUi(this);

View File

@ -19,8 +19,8 @@ class GamePatchDetailsWidget : public QWidget
Q_OBJECT
public:
GamePatchDetailsWidget(std::string name, const std::string& author, const std::string& description, bool enabled,
bool disallowed_for_achievements, SettingsWindow* dialog, QWidget* parent);
GamePatchDetailsWidget(std::string name, const std::string& author, const std::string& description,
bool disallowed_for_achievements, bool enabled, SettingsWindow* dialog, QWidget* parent);
~GamePatchDetailsWidget();
private Q_SLOTS: