summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Tanner <thosrtanner2@users.sourceforge.net>2015-03-29 18:01:56 +0100
committerTom Tanner <thosrtanner2@users.sourceforge.net>2015-03-29 18:01:56 +0100
commit0269fc36e637dbe772c7463e07fa1aa330d3382d (patch)
tree903ce5dfe7fd79af866b096ad9960aed89e96a02 /src
parentfa5d3cdaf3c5b829fa2e5b3b10a6dc9cfa568c58 (diff)
If there are no Missing ESPs, say "None" rather than leaving an empty list.
Diffstat (limited to 'src')
-rw-r--r--src/savegameinfowidgetgamebryo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/savegameinfowidgetgamebryo.cpp b/src/savegameinfowidgetgamebryo.cpp
index b87d3165..c97e5810 100644
--- a/src/savegameinfowidgetgamebryo.cpp
+++ b/src/savegameinfowidgetgamebryo.cpp
@@ -71,4 +71,10 @@ void SaveGameInfoWidgetGamebryo::setSave(const SaveGame *saveGame)
dotDotLabel->setFont(contentFont);
layout->addWidget(dotDotLabel);
}
+ if (count == 0) {
+ QLabel *dotDotLabel = new QLabel(tr("None"));
+ dotDotLabel->setIndent(10);
+ dotDotLabel->setFont(contentFont);
+ layout->addWidget(dotDotLabel);
+ }
}