summaryrefslogtreecommitdiff
path: root/src/instancemanager.cpp
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-03-16 18:02:57 +0100
committerAl12rs <gabriel.cortesi@outlook.com>2018-03-16 18:02:57 +0100
commit2fa1b04cd430315f3abf45dcdd4975c0117ac98a (patch)
tree67e5af5cc97a499fb4088d9f1b5eb7571ba72138 /src/instancemanager.cpp
parent8dee1d108b4098a587f3a827c187b3c9c2559d12 (diff)
Various text and ui changes:
Added description to CSV export. Added line to delete instance error message. Changed delete instance icon for the list of instances. Added red X in the resources, thanks to twizz0r.
Diffstat (limited to 'src/instancemanager.cpp')
-rw-r--r--src/instancemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/instancemanager.cpp b/src/instancemanager.cpp
index d12ec119..43ae152b 100644
--- a/src/instancemanager.cpp
+++ b/src/instancemanager.cpp
@@ -105,7 +105,7 @@ QString InstanceManager::manageInstances(const QStringList &instanceList) const
nullptr);
for (const QString &instance : instanceList)
{
- selection.addChoice(instance, "", instance);
+ selection.addChoice(QIcon(":/MO/gui/multiply_red"), instance, "", instance);
}
if (selection.exec() == QDialog::Rejected) {
@@ -120,7 +120,7 @@ QString InstanceManager::manageInstances(const QStringList &instanceList) const
if (!deleteLocalInstance(choice))
{
QMessageBox::warning(nullptr, QObject::tr("Failed to delete Instance"),
- QObject::tr("Could not delete Instance \"%1\"").arg(choice), QMessageBox::Ok);
+ QObject::tr("Could not delete Instance \"%1\". \nIf the folder was still in use, restart MO and try again.").arg(choice), QMessageBox::Ok);
}
}
}