aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-01-20 20:40:56 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-01-31 21:40:59 +0100
commitefa414c442a77735a5f972b7103e8ce866a6bdd1 (patch)
treedbefe8703aeed2f40e95fb2d5dac5a0ad0f794f0 /launcher/ui/dialogs
parentc39da093bf5f4d73f2cfbc1b030d5c1e8297f5a2 (diff)
downloadPrismLauncher-efa414c442a77735a5f972b7103e8ce866a6bdd1.tar.gz
PrismLauncher-efa414c442a77735a5f972b7103e8ce866a6bdd1.tar.bz2
PrismLauncher-efa414c442a77735a5f972b7103e8ce866a6bdd1.zip
refactor: initial migration to QuaZip 1.2
Let's move off our custom QuaZip. In the olden times we needed the custom version of QuaZip, as it was basically unmaintained and on SourceForge (eww). But nowadays it's maintained and on GitHub. See new GitHub page: https://github.com/stachenov/quazip
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r--launcher/ui/dialogs/ExportInstanceDialog.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/launcher/ui/dialogs/ExportInstanceDialog.cpp b/launcher/ui/dialogs/ExportInstanceDialog.cpp
index 1a164875..59ae0a76 100644
--- a/launcher/ui/dialogs/ExportInstanceDialog.cpp
+++ b/launcher/ui/dialogs/ExportInstanceDialog.cpp
@@ -378,6 +378,7 @@ void SaveIcon(InstancePtr m_instance)
bool ExportInstanceDialog::doExport()
{
+ /*
auto name = FS::RemoveInvalidFilenameChars(m_instance->name());
const QString output = QFileDialog::getSaveFileName(
@@ -404,11 +405,11 @@ bool ExportInstanceDialog::doExport()
auto & blocked = proxyModel->blockedPaths();
using std::placeholders::_1;
if (!JlCompress::compressDir(output, m_instance->instanceRoot(), name, std::bind(&SeparatorPrefixTree<'/'>::covers, blocked, _1)))
- {
+ { */
QMessageBox::warning(this, tr("Error"), tr("Unable to export instance"));
return false;
- }
- return true;
+ /*}
+ return true;*/
}
void ExportInstanceDialog::done(int result)