Use QTextStream for output

This commit is contained in:
Sebastian Kügler 2013-08-24 00:29:41 +02:00
parent f5099f21fd
commit 4cd608d09d

View File

@ -46,6 +46,7 @@
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
static QTextStream cout(stdout);
namespace Plasma namespace Plasma
{ {
@ -365,7 +366,7 @@ void PlasmaPkg::runMain()
void PlasmaPkgPrivate::coutput(const QString &msg) void PlasmaPkgPrivate::coutput(const QString &msg)
{ {
std::cout << msg.toLocal8Bit().constData() << std::endl; cout << msg.toLocal8Bit().constData() << endl;
} }
void PlasmaPkgPrivate::runKbuildsycoca() void PlasmaPkgPrivate::runKbuildsycoca()