summaryrefslogtreecommitdiffstats
path: root/src/errordialoghandler.cpp
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-15 01:05:33 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-15 01:57:06 +0100
commit0471998e13aada9a76e92b13ab3885c2d1c2fb84 (patch)
tree776d15ab92ef044956940bc2228b61256ca4feb9 /src/errordialoghandler.cpp
parent63b858b5d827797eec959d009ad0b970de167dc5 (diff)
Add missing braces around single-line statements
Diffstat (limited to 'src/errordialoghandler.cpp')
-rw-r--r--src/errordialoghandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/errordialoghandler.cpp b/src/errordialoghandler.cpp
index e9c4ec6719..f3217e486f 100644
--- a/src/errordialoghandler.cpp
+++ b/src/errordialoghandler.cpp
@@ -27,7 +27,9 @@ void ErrorDialogProperties::setTitle(const QString& title) {
void ErrorDialogProperties::setText(const QString& text) {
// If no key is set, use this window text since it is likely to be unique
- if (m_key.isEmpty()) m_key = text;
+ if (m_key.isEmpty()) {
+ m_key = text;
+ }
m_text = text;
}