diff -r a79277000830 -r 93dcd1a0e4bd src/Main.cc --- a/src/Main.cc Wed Mar 05 05:31:07 2014 +0200 +++ b/src/Main.cc Wed Mar 05 12:47:00 2014 +0200 @@ -56,12 +56,12 @@ // Load or create the configuration if (!Config::load()) { - log ("Creating configuration file...\n"); + print ("Creating configuration file...\n"); if (Config::save()) - log ("Configuration file successfully created.\n"); + print ("Configuration file successfully created.\n"); else - log ("failed to create configuration file!\n"); + critical ("Failed to create configuration file!\n"); } LDPaths::initPaths(); @@ -82,21 +82,3 @@ loadPrimitives(); return app.exec(); } - -// ============================================================================= -// -void doPrint (QFile& f, QList args) -{ - QString msg = DoFormat (args); - f.write (msg.toUtf8()); - f.flush(); -} - -// ============================================================================= -// -void doPrint (FILE* fp, QList args) -{ - QString msg = DoFormat (args); - fwrite (msg.toStdString().c_str(), 1, msg.length(), fp); - fflush (fp); -}