aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
diff options
context:
space:
mode:
authorMarcelo Hernandez <marcelohdez.inq@gmail.com>2022-10-26 00:20:36 -0400
committerMarcelo Hernandez <marcelohdez.inq@gmail.com>2022-10-26 00:20:36 -0400
commit63b6c6685ce53e3fac1902e0ee7a6998c5d341d0 (patch)
treef78856109b106f55d42a30714d87dec702e7fb65 /launcher/ui
parent385c452ddffa2f40b21d7decede9f255e2b24d45 (diff)
downloadPrismLauncher-63b6c6685ce53e3fac1902e0ee7a6998c5d341d0.tar.gz
PrismLauncher-63b6c6685ce53e3fac1902e0ee7a6998c5d341d0.tar.bz2
PrismLauncher-63b6c6685ce53e3fac1902e0ee7a6998c5d341d0.zip
Abstract away InstanceCopyPrefs' internals through new getSelectedFiltersAsRegex() function
+ fix typo in comment + remove unused import + add [[nodiscard]] to methods Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
Diffstat (limited to 'launcher/ui')
-rw-r--r--launcher/ui/dialogs/CopyInstanceDialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/ui/dialogs/CopyInstanceDialog.cpp b/launcher/ui/dialogs/CopyInstanceDialog.cpp
index 8445f0a9..e658f26d 100644
--- a/launcher/ui/dialogs/CopyInstanceDialog.cpp
+++ b/launcher/ui/dialogs/CopyInstanceDialog.cpp
@@ -44,7 +44,6 @@
#include "BaseVersion.h"
#include "icons/IconList.h"
-#include "tasks/Task.h"
#include "BaseInstance.h"
#include "InstanceList.h"
@@ -138,7 +137,7 @@ void CopyInstanceDialog::checkAllCheckboxes(const bool& b)
ui->copyModsCheckbox->setChecked(b);
}
-// Check the "Select all" checkbox checked if all options are already checked:
+// Check the "Select all" checkbox if all options are already selected:
void CopyInstanceDialog::updateSelectAllCheckbox()
{
ui->selectAllCheckbox->blockSignals(true);