diff --git a/cli/utils.cpp b/cli/utils.cpp index cbe1737..802af30 100644 --- a/cli/utils.cpp +++ b/cli/utils.cpp @@ -18,25 +18,3 @@ QByteArray Utils::readFile(QString path) } return data; } - -QDebug &Utils::info() -{ - static QDebug result = [] - { - QFile *file = new QFile(); - file->open(stderr, QIODevice::WriteOnly); - return QDebug(file); - }(); - return result; -} - -QDebug &Utils::error() -{ - static QDebug result = [] - { - QFile *file = new QFile(); - file->open(stdout, QIODevice::WriteOnly); - return QDebug(file); - }(); - return result; -} diff --git a/cli/utils.h b/cli/utils.h index fc64ea5..1f32da6 100644 --- a/cli/utils.h +++ b/cli/utils.h @@ -4,6 +4,7 @@ #include #include #include +#include #include "qssgeneralexception.h" class Utils @@ -11,8 +12,6 @@ class Utils public: Utils(); static QByteArray readFile(QString path); - static QDebug &info(); - static QDebug &error(); }; #endif // UTILS_H