Commit 7e8fcabe authored by Fabian Kosmale's avatar Fabian Kosmale

fix to prevent unused warning by gcc, but the whole io.h thing seems to be strange

parent cdb52104
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
*/ */
#include "databaseworker.h" #include "databaseworker.h"
#include "io.h"
#include <akabeipackage.h> #include <akabeipackage.h>
#include <akabeibackend.h> #include <akabeibackend.h>
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <akabeipackage.h> #include <akabeipackage.h>
#include <qtextstream.h> #include <qtextstream.h>
#include <QStringList> #include <QStringList>
#include "io.h"
namespace Akabei { namespace Akabei {
class Database; class Database;
......
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
#include <QFile> #include <QFile>
#include <QObject> #include <QObject>
Q_GLOBAL_STATIC_WITH_ARGS(QTextStream, in, (stdin));
namespace InputValidator namespace InputValidator
{ {
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>
#include <stdio.h>
namespace InputValidator namespace InputValidator
{ {
......
...@@ -16,5 +16,4 @@ ...@@ -16,5 +16,4 @@
#include <QGlobalStatic> #include <QGlobalStatic>
Q_GLOBAL_STATIC_WITH_ARGS(QTextStream, out, (stdout)); Q_GLOBAL_STATIC_WITH_ARGS(QTextStream, out, (stdout));
Q_GLOBAL_STATIC_WITH_ARGS(QTextStream, in, (stdin));
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment