Use QTextStream for output
This commit is contained in:
parent
f5099f21fd
commit
4cd608d09d
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user