summaryrefslogtreecommitdiff
path: root/src/helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper.cpp')
-rw-r--r--src/helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper.cpp b/src/helper.cpp
index c366287..58831e5 100644
--- a/src/helper.cpp
+++ b/src/helper.cpp
@@ -90,7 +90,7 @@ QString Helper::timeForJumps(int secs) {
// This function has been copied (and modified a little bit) from Scribus (program under GPL license):
// http://docs.scribus.net/devel/util_8cpp-source.html#l00112
QString Helper::shortPathName(QString long_path) {
- if ((QSysInfo::WindowsVersion >= QSysInfo::WV_NT) && (QFile::exists(long_path))) {
+ if (QFile::exists(long_path)) {
QString short_path = long_path;
const int max_path = 4096;