From f2c145b2fc9d6ffce838398e06f7aa583d05887d Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Sat, 5 Jan 2019 16:34:10 -0600 Subject: Change qPrintable to qUtf8Printable to better support non-ASCII text --- src/instancemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/instancemanager.cpp') diff --git a/src/instancemanager.cpp b/src/instancemanager.cpp index 9066741d..a5a52d63 100644 --- a/src/instancemanager.cpp +++ b/src/instancemanager.cpp @@ -86,7 +86,7 @@ bool InstanceManager::deleteLocalInstance(const QString &instanceId) const if (!MOBase::shellDelete(QStringList(instancePath),true)) { - qWarning("Failed to shell-delete \"%s\" (errorcode %lu), trying regular delete", qPrintable(instancePath), ::GetLastError()); + qWarning("Failed to shell-delete \"%s\" (errorcode %lu), trying regular delete", qUtf8Printable(instancePath), ::GetLastError()); if (!MOBase::removeDir(instancePath)) { qWarning("regular delete failed too"); -- cgit v1.3.1 From fe04cb47e1cd0207ba69f251f0c10e3a694134c0 Mon Sep 17 00:00:00 2001 From: Al Date: Sun, 20 Jan 2019 22:27:43 +0100 Subject: Improved Choose Instance name dialog to avoid confusion --- src/instancemanager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/instancemanager.cpp') diff --git a/src/instancemanager.cpp b/src/instancemanager.cpp index a5a52d63..b0a59363 100644 --- a/src/instancemanager.cpp +++ b/src/instancemanager.cpp @@ -138,7 +138,8 @@ QString InstanceManager::queryInstanceName(const QStringList &instanceList) cons dialog.setWindowTitle(QObject::tr("Enter a Name for the new Instance")); dialog.setLabelText(QObject::tr("Enter a new name or select one from the suggested list: \n" - "(This is just the name of the Instance, not the game selection)")); + "(This is just a name for the Instance and can be whatever you wish,\n" + " the actual game selection will happen on the next screen regardless of chosen name)")); // would be neat if we could take the names from the game plugins but // the required initialization order requires the ini file to be // available *before* we load plugins -- cgit v1.3.1 From 67cb214d47fc55a6fee1bac9f342562a69896fb1 Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 13 Feb 2019 02:25:49 +0100 Subject: Added enderal to instance selection name --- src/instancemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/instancemanager.cpp') diff --git a/src/instancemanager.cpp b/src/instancemanager.cpp index b0a59363..1c65f635 100644 --- a/src/instancemanager.cpp +++ b/src/instancemanager.cpp @@ -144,7 +144,7 @@ QString InstanceManager::queryInstanceName(const QStringList &instanceList) cons // the required initialization order requires the ini file to be // available *before* we load plugins dialog.setComboBoxItems({ "NewName", "Fallout 4", "SkyrimSE", "Skyrim", "SkyrimVR", "Fallout 3", - "Fallout NV", "TTW", "FO4VR", "Oblivion", "Morrowind" }); + "Fallout NV", "TTW", "FO4VR", "Oblivion", "Morrowind", "Enderal" }); dialog.setComboBoxEditable(true); if (dialog.exec() == QDialog::Rejected) { -- cgit v1.3.1