summaryrefslogtreecommitdiff
path: root/src/gui/widgets/attrs/attrdisplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/attrs/attrdisplay.h')
-rw-r--r--src/gui/widgets/attrs/attrdisplay.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/attrs/attrdisplay.h b/src/gui/widgets/attrs/attrdisplay.h
index 1641bac9f..f682e41f5 100644
--- a/src/gui/widgets/attrs/attrdisplay.h
+++ b/src/gui/widgets/attrs/attrdisplay.h
@@ -56,8 +56,7 @@ class AttrDisplay notfinal : public Container
{
if (mValue == nullptr)
return "-";
- else
- return mValue->getCaption();
+ return mValue->getCaption();
}
const std::string &getShortName() const