summaryrefslogtreecommitdiffhomepage
path: root/options/group.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-26 22:25:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:05:21 +0200
commitd65936200a2756e6619a109fa6fa673b91df802e (patch)
tree80b6b6fc7ba9023cbe47290b8ae1bc5468a19bb1 /options/group.cpp
parent4046773c41ee3c0f65840828ab983cfd13451c85 (diff)
modernize C++ syntax
No visible changes (hopefully).
Diffstat (limited to 'options/group.cpp')
-rw-r--r--options/group.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/options/group.cpp b/options/group.cpp
index 77773744..788dd5de 100644
--- a/options/group.cpp
+++ b/options/group.cpp
@@ -69,8 +69,7 @@ bool group::contains(const QString &s) const
bool group::is_portable_installation()
{
#if defined _WIN32
- if (QFile::exists(OPENTRACK_BASE_PATH + "/portable.txt"))
- return true;
+ return QFile::exists(OPENTRACK_BASE_PATH + "/portable.txt");
#endif
return false;
}