# HG changeset patch # User thomas_-_s # Date 1287764787 0 # Node ID e64c04dc6f61e82b045bd40e5da522c13a6c4ca1 # Parent ffca9bf0d378a7ad040eab8ab96868a90b765609 Made the code be compatible to the Qt compile variant with "-no-stl" being set. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1030 59b1889a-e5ac-428c-b0c7-476e01d41282 diff -r ffca9bf0d378 -r e64c04dc6f61 src/main.cpp --- a/src/main.cpp Thu Oct 14 19:58:28 2010 +0000 +++ b/src/main.cpp Fri Oct 22 16:26:27 2010 +0000 @@ -174,7 +174,7 @@ cmd.parse( argc, argv ); // Get the value parsed by each arg. - file2OpenOnStart = QString::fromStdString( filenameArg.getValue() ); + file2OpenOnStart = filenameArg.getValue().c_str(); startAsPlugin = pluginSwitch.getValue(); startAsServer = serverSwitch.getValue(); verboseLevel = verboselevelArg.getValue();