diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-07-30 15:56:38 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-07-30 15:56:38 -0700 |
commit | 7091bc81c24b056a07f8577556b5e0a28a27f62a (patch) | |
tree | 64adac2d6acd9b5e09a7d5416bcf7ede1c3b348e /launcher/ui/dialogs | |
parent | b9fe37aec14b7cc61cbef09d5d2256f68a48d220 (diff) | |
download | PrismLauncher-7091bc81c24b056a07f8577556b5e0a28a27f62a.tar.gz PrismLauncher-7091bc81c24b056a07f8577556b5e0a28a27f62a.tar.bz2 PrismLauncher-7091bc81c24b056a07f8577556b5e0a28a27f62a.zip |
chore(rename): fix unfinshed renames from deshadow changes
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r-- | launcher/ui/dialogs/ExportInstanceDialog.cpp | 2 | ||||
-rw-r--r-- | launcher/ui/dialogs/ProgressDialog.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/launcher/ui/dialogs/ExportInstanceDialog.cpp b/launcher/ui/dialogs/ExportInstanceDialog.cpp index 2e9f6225..703736d6 100644 --- a/launcher/ui/dialogs/ExportInstanceDialog.cpp +++ b/launcher/ui/dialogs/ExportInstanceDialog.cpp @@ -209,7 +209,7 @@ void ExportInstanceDialog::savePackIgnore() auto ignoreData = proxyModel->blockedPaths().toStringList().join('\n').toUtf8(); auto filename = ignoreFileName(); try { - FS::write(filename, data); + FS::write(filename, ignoreData); } catch (const Exception& e) { qWarning() << e.cause(); } diff --git a/launcher/ui/dialogs/ProgressDialog.cpp b/launcher/ui/dialogs/ProgressDialog.cpp index 69bfe162..222ce973 100644 --- a/launcher/ui/dialogs/ProgressDialog.cpp +++ b/launcher/ui/dialogs/ProgressDialog.cpp @@ -216,9 +216,9 @@ void ProgressDialog::onTaskSucceeded() void ProgressDialog::changeStatus([[maybe_unused]] const QString& status) { - ui->globalStatusLabel->setText(task->getStatus()); + ui->globalStatusLabel->setText(m_task->getStatus()); ui->globalStatusLabel->adjustSize(); - ui->globalStatusDetailsLabel->setText(task->getDetails()); + ui->globalStatusDetailsLabel->setText(m_task->getDetails()); ui->globalStatusDetailsLabel->adjustSize(); |