diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-10 22:04:08 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-10 22:04:08 +0300 |
commit | ae9e8dbafd457ef5be2b02529647c8b974488f7a (patch) | |
tree | 334002c31de3b7a1959a2bc850d4b8f318a0001e /launcher/minecraft/mod/ResourceFolderModel.h | |
parent | f96b135ef72a762220941681cf1b314a3b2db266 (diff) | |
download | PrismLauncher-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/mod/ResourceFolderModel.h')
-rw-r--r-- | launcher/minecraft/mod/ResourceFolderModel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/minecraft/mod/ResourceFolderModel.h b/launcher/minecraft/mod/ResourceFolderModel.h index d853b443..0a35e1bc 100644 --- a/launcher/minecraft/mod/ResourceFolderModel.h +++ b/launcher/minecraft/mod/ResourceFolderModel.h @@ -26,7 +26,7 @@ class QSortFilterProxyModel; class ResourceFolderModel : public QAbstractListModel { Q_OBJECT public: - ResourceFolderModel(QDir, const BaseInstance* instance, QObject* parent = nullptr, bool create_dir = true); + ResourceFolderModel(QDir, BaseInstance* instance, QObject* parent = nullptr, bool create_dir = true); ~ResourceFolderModel() override; /** Starts watching the paths for changes. @@ -191,7 +191,7 @@ class ResourceFolderModel : public QAbstractListModel { bool m_can_interact = true; QDir m_dir; - const BaseInstance* m_instance; + BaseInstance* m_instance; QFileSystemWatcher m_watcher; bool m_is_watching = false; |