comparison src/main.cpp @ 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 ac165b6ae67e
children 4ec2ac09969d
comparison
equal deleted inserted replaced
752:ffca9bf0d378 753:e64c04dc6f61
172 172
173 // Parse the args. 173 // Parse the args.
174 cmd.parse( argc, argv ); 174 cmd.parse( argc, argv );
175 175
176 // Get the value parsed by each arg. 176 // Get the value parsed by each arg.
177 file2OpenOnStart = QString::fromStdString( filenameArg.getValue() ); 177 file2OpenOnStart = filenameArg.getValue().c_str();
178 startAsPlugin = pluginSwitch.getValue(); 178 startAsPlugin = pluginSwitch.getValue();
179 startAsServer = serverSwitch.getValue(); 179 startAsServer = serverSwitch.getValue();
180 verboseLevel = verboselevelArg.getValue(); 180 verboseLevel = verboselevelArg.getValue();
181 } 181 }
182 catch (TCLAP::ArgException &e) { // catch arg exceptions 182 catch (TCLAP::ArgException &e) { // catch arg exceptions