diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-06-03 13:39:42 +0100 |
---|---|---|
committer | TheKodeToad <TheKodeToad@proton.me> | 2023-06-03 13:39:42 +0100 |
commit | e26827b84922d7d84c3ee83dfed58759b1c0ca15 (patch) | |
tree | 0ef6e3cb4505e3f15519937596896102463cbc23 /launcher/ui/dialogs/ExportInstanceDialog.cpp | |
parent | 86974b046ee0b232b07e3a28cbc1e954d88dd40f (diff) | |
download | PrismLauncher-e26827b84922d7d84c3ee83dfed58759b1c0ca15.tar.gz PrismLauncher-e26827b84922d7d84c3ee83dfed58759b1c0ca15.tar.bz2 PrismLauncher-e26827b84922d7d84c3ee83dfed58759b1c0ca15.zip |
Optimised icons
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/dialogs/ExportInstanceDialog.cpp')
-rw-r--r-- | launcher/ui/dialogs/ExportInstanceDialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/launcher/ui/dialogs/ExportInstanceDialog.cpp b/launcher/ui/dialogs/ExportInstanceDialog.cpp index 603a723c..8ecd91a9 100644 --- a/launcher/ui/dialogs/ExportInstanceDialog.cpp +++ b/launcher/ui/dialogs/ExportInstanceDialog.cpp @@ -1,7 +1,8 @@ // SPDX-License-Identifier: GPL-3.0-only /* - * PolyMC - Minecraft Launcher + * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> + * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,7 +47,6 @@ #include <QSaveFile> #include <QStack> #include <QFileInfo> -#include "StringUtils.h" #include "SeparatorPrefixTree.h" #include "Application.h" #include <icons/IconList.h> @@ -57,6 +57,7 @@ ExportInstanceDialog::ExportInstanceDialog(InstancePtr instance, QWidget *parent { ui->setupUi(this); auto model = new QFileSystemModel(this); + model->setIconProvider(&icons); auto root = instance->instanceRoot(); proxyModel = new FileIgnoreProxy(root, this); loadPackIgnore(); |