From 7fa0eddc5f2d3d33a6caa27e8c43abcd36747a09 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Fri, 24 Jul 2015 18:28:12 +0200 Subject: Make C++11 mandatory. --- src/keys/FileKey.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/keys/FileKey.h') diff --git a/src/keys/FileKey.h b/src/keys/FileKey.h index f98543364..7a9b1caf0 100644 --- a/src/keys/FileKey.h +++ b/src/keys/FileKey.h @@ -20,7 +20,6 @@ #include -#include "core/Global.h" #include "keys/Key.h" class QIODevice; @@ -30,11 +29,11 @@ class FileKey : public Key public: FileKey(); bool load(QIODevice* device); - bool load(const QString& fileName, QString* errorMsg = Q_NULLPTR); + bool load(const QString& fileName, QString* errorMsg = nullptr); QByteArray rawKey() const; FileKey* clone() const; static void create(QIODevice* device); - static bool create(const QString& fileName, QString* errorMsg = Q_NULLPTR); + static bool create(const QString& fileName, QString* errorMsg = nullptr); private: bool loadXml(QIODevice* device); -- cgit v1.2.3