summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/linguist/lrelease/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lrelease/main.cpp b/tools/linguist/lrelease/main.cpp
index f180fbd..75d6107 100644
--- a/tools/linguist/lrelease/main.cpp
+++ b/tools/linguist/lrelease/main.cpp
@@ -381,7 +381,7 @@ static void initBinaryDir(
wchar_t module_name[MAX_PATH];
GetModuleFileName(0, module_name, MAX_PATH);
QFileInfo filePath = QString::fromWCharArray(module_name);
- binDir = filePath.filePath();
+ binDir = filePath.path();
#else
QString argv0 = QFile::decodeName(QByteArray(_argv0));
QString absPath;