diff options
Diffstat (limited to 'src/qt_qt_wrapper.cpp')
-rw-r--r-- | src/qt_qt_wrapper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp index f9c9fe0..07ea866 100644 --- a/src/qt_qt_wrapper.cpp +++ b/src/qt_qt_wrapper.cpp @@ -336,7 +336,8 @@ void createTQApp() TQString cmdlineAppName = "unknown-gtk-tqt-application"; TQStringList cmdlineArgs = TQStringList::split(" ", cmdLine, false); if (cmdlineArgs.count() > 0) { - cmdlineAppName = cmdlineArgs[0]; + TQFileInfo fi(cmdlineArgs[0]); + cmdlineAppName = fi.fileName(); cmdlineAppName.append("-gtk-tqt-application"); } int cmdlineAppNameLength = cmdlineAppName.length() + 1; |