From ea3458de92d043952f3a9a4ea3ea583d7e4812bd Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Mon, 19 Mar 2012 22:21:48 -0400 Subject: [PATCH] /s/streams/printf/ for --list-profiles and --list-profile-properties For these 2 usages, use printf instead of streams --- src/Application.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Application.cpp b/src/Application.cpp index 0f62754c8..4925fa755 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -20,9 +20,6 @@ // Own #include "Application.h" -// std -#include - // Qt #include #include @@ -330,7 +327,7 @@ void Application::listAvailableProfiles() foreach ( const QString& path, paths) { QFileInfo info(path); - std::cout << info.completeBaseName().toLocal8Bit().data() << std::endl; + printf("%s\n", info.completeBaseName().toLocal8Bit().constData()); } quit(); @@ -342,7 +339,7 @@ void Application::listProfilePropertyInfo() const QStringList names = tempProfile->propertiesInfoList(); foreach ( const QString& name, names) { - std::cout << name.toLocal8Bit().data() << std::endl; + printf("%s\n", name.toLocal8Bit().constData()); } quit();