mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
Add "Select all" checkbox + ui revamp + code cleanup
Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#include "pathmatcher/RegexpMatcher.h"
|
||||
#include <QtConcurrentRun>
|
||||
|
||||
InstanceCopyTask::InstanceCopyTask(InstancePtr origInstance, InstanceCopyPrefs prefs)
|
||||
InstanceCopyTask::InstanceCopyTask(InstancePtr origInstance, const InstanceCopyPrefs& prefs)
|
||||
{
|
||||
m_origInstance = origInstance;
|
||||
m_keepPlaytime = prefs.keepPlaytime;
|
||||
@ -51,7 +51,7 @@ InstanceCopyTask::InstanceCopyTask(InstancePtr origInstance, InstanceCopyPrefs p
|
||||
}
|
||||
}
|
||||
|
||||
void InstanceCopyTask::appendToFilter(QString& filter, const QString &append)
|
||||
void InstanceCopyTask::appendToFilter(QString& filter, const QString& append)
|
||||
{
|
||||
if (!filter.isEmpty())
|
||||
filter.append('|'); // OR regex
|
||||
|
Reference in New Issue
Block a user