Fix prior commit

pull/1/head
Timothy Pearson 11 years ago
parent d30bca0277
commit c85a1eae45

@ -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;

Loading…
Cancel
Save