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>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user