diff options
| author | Tom Tanner <thosrtanner2@users.sourceforge.net> | 2015-03-29 18:01:56 +0100 |
|---|---|---|
| committer | Tom Tanner <thosrtanner2@users.sourceforge.net> | 2015-03-29 18:01:56 +0100 |
| commit | 0269fc36e637dbe772c7463e07fa1aa330d3382d (patch) | |
| tree | 903ce5dfe7fd79af866b096ad9960aed89e96a02 /src/savegameinfowidgetgamebryo.cpp | |
| parent | fa5d3cdaf3c5b829fa2e5b3b10a6dc9cfa568c58 (diff) | |
If there are no Missing ESPs, say "None" rather than leaving an empty list.
Diffstat (limited to 'src/savegameinfowidgetgamebryo.cpp')
| -rw-r--r-- | src/savegameinfowidgetgamebryo.cpp | 6 |
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);
+ }
}
|
