Use QTextStream for output
This commit is contained in:
parent
f5099f21fd
commit
4cd608d09d
@ -46,6 +46,7 @@
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
||||
static QTextStream cout(stdout);
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
@ -365,7 +366,7 @@ void PlasmaPkg::runMain()
|
||||
|
||||
void PlasmaPkgPrivate::coutput(const QString &msg)
|
||||
{
|
||||
std::cout << msg.toLocal8Bit().constData() << std::endl;
|
||||
cout << msg.toLocal8Bit().constData() << endl;
|
||||
}
|
||||
|
||||
void PlasmaPkgPrivate::runKbuildsycoca()
|
||||
|
Loading…
Reference in New Issue
Block a user