changeset 753:e64c04dc6f61

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
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Fri, 22 Oct 2010 16:26:27 +0000
parents ffca9bf0d378
children 4ec2ac09969d
files src/main.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();