aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/WorldList.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-10 22:04:08 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-10 22:04:08 +0300
commitae9e8dbafd457ef5be2b02529647c8b974488f7a (patch)
tree334002c31de3b7a1959a2bc850d4b8f318a0001e /launcher/minecraft/WorldList.cpp
parentf96b135ef72a762220941681cf1b314a3b2db266 (diff)
downloadPrismLauncher-ae9e8dbafd457ef5be2b02529647c8b974488f7a.tar.gz
PrismLauncher-ae9e8dbafd457ef5be2b02529647c8b974488f7a.tar.bz2
PrismLauncher-ae9e8dbafd457ef5be2b02529647c8b974488f7a.zip
Removed const specification
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/minecraft/WorldList.cpp')
-rw-r--r--launcher/minecraft/WorldList.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/minecraft/WorldList.cpp b/launcher/minecraft/WorldList.cpp
index 42772df5..0feee299 100644
--- a/launcher/minecraft/WorldList.cpp
+++ b/launcher/minecraft/WorldList.cpp
@@ -45,7 +45,8 @@
#include <QFileSystemWatcher>
#include <QDebug>
-WorldList::WorldList(const QString& dir, const BaseInstance* instance) : QAbstractListModel(), m_instance(instance), m_dir(dir)
+WorldList::WorldList(const QString &dir, BaseInstance* instance)
+ : QAbstractListModel(), m_instance(instance), m_dir(dir)
{
FS::ensureFolderPathExists(m_dir.absolutePath());
m_dir.setFilter(QDir::Readable | QDir::NoDotAndDotDot | QDir::Files | QDir::Dirs);