aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ExportInstanceDialog.cpp
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-06-03 13:39:42 +0100
committerTheKodeToad <TheKodeToad@proton.me>2023-06-03 13:39:42 +0100
commite26827b84922d7d84c3ee83dfed58759b1c0ca15 (patch)
tree0ef6e3cb4505e3f15519937596896102463cbc23 /launcher/ui/dialogs/ExportInstanceDialog.cpp
parent86974b046ee0b232b07e3a28cbc1e954d88dd40f (diff)
downloadPrismLauncher-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.cpp5
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();