From 78ee23220f4b755515dfb391aeb3fbdb6d48f0d6 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Mon, 25 Nov 2019 05:31:28 -0500 Subject: bumped to 2.2.2alpha7 use the broom icon for dirty plugins better handling of failing to spawn loot --- src/loot.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/loot.cpp') diff --git a/src/loot.cpp b/src/loot.cpp index 11eb4f4e..a7251965 100644 --- a/src/loot.cpp +++ b/src/loot.cpp @@ -252,7 +252,7 @@ QString Loot::Report::toMarkdown() const } if (s.isEmpty()) { - s += "**" + QObject::tr("No messages.") + "**"; + s += "**" + QObject::tr("No messages.") + "**\n"; } s += stats.toMarkdown(); @@ -833,7 +833,10 @@ bool runLoot(QWidget* parent, OrganizerCore& core, bool didUpdateMasterList) Loot loot; LootDialog dialog(parent, core, loot); - loot.start(parent, core, didUpdateMasterList); + if (!loot.start(parent, core, didUpdateMasterList)) { + return false; + } + dialog.exec(); return dialog.result(); -- cgit v1.3.1