Commit 4d41474c authored by Martin Straka's avatar Martin Straka

Removed unnecessary includes in filesystem

parent e869c21b
......@@ -21,17 +21,11 @@
* the two.
*/
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QLibraryInfo>
#include <QRegExp>
#include <QStandardPaths>
#include <QTemporaryFile>
#include <QTextStream>
#include <QStandardPaths>
#include "src/io/filesystem.h"
......@@ -66,7 +60,7 @@ QString setFilePath(const QString &basePath, const QString &destDir)
}
if (!dir.exists()) {
qDebug() << "Loaction for file could not be created.";
qCritical() << "Loaction for file could not be created.";
return QString();
}
......@@ -141,7 +135,7 @@ QString writeFile(const QString &filePath, const QString &fileName,
QFile fout(nonconflictingFileName(filePath + QDir::separator()
+ nameCopy));
if (!fout.open(QIODevice::WriteOnly)) {
qDebug() << "Cant open file.";
qCritical() << "Cant open file " << nameCopy;
return QString();
}
......
......@@ -25,7 +25,6 @@
#define _FILESYSTEM_H_
#include <QByteArray>
#include <QDateTime>
#include <QString>
#define DATOVKA_DIR_NAME "Datovka"
......
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