diff options
author | Timothy Pearson <[email protected]> | 2014-05-10 21:36:19 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-05-10 21:36:19 -0500 |
commit | c85a1eae45c14583bd8ba036c36a90352d2ef0f5 (patch) | |
tree | 40710388fc2777bc4a502239105e68c51d2bd1c5 | |
parent | d30bca0277c12282128cc0dba4a14fb96f824eba (diff) | |
download | gtk-qt-engine-c85a1eae45c14583bd8ba036c36a90352d2ef0f5.tar.gz gtk-qt-engine-c85a1eae45c14583bd8ba036c36a90352d2ef0f5.zip |
Fix prior commit
-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; |