From 0e45dd7a3d49ee4d30bc3f8b0d3c39c947ed0865 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Fri, 13 Jun 2014 11:58:16 +0200 Subject: [PATCH] AccountMigrator: Do not inherit from QObject as it is not needed yet. As requested by Danimos review. --- src/mirall/accountmigrator.cpp | 3 +-- src/mirall/accountmigrator.h | 9 ++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/mirall/accountmigrator.cpp b/src/mirall/accountmigrator.cpp index c9af1b7d5..51e3f2ecb 100644 --- a/src/mirall/accountmigrator.cpp +++ b/src/mirall/accountmigrator.cpp @@ -31,8 +31,7 @@ namespace Mirall { // branded client first, it should automatically pick the information // from the already configured account. -AccountMigrator::AccountMigrator(QObject *parent) : - QObject(parent) +AccountMigrator::AccountMigrator() { } diff --git a/src/mirall/accountmigrator.h b/src/mirall/accountmigrator.h index 1d3e971d1..49e3fa04e 100644 --- a/src/mirall/accountmigrator.h +++ b/src/mirall/accountmigrator.h @@ -14,15 +14,14 @@ #ifndef ACCOUNTMIGRATOR_H #define ACCOUNTMIGRATOR_H -#include +#include namespace Mirall { -class AccountMigrator : public QObject -{ - Q_OBJECT +class AccountMigrator { + public: - explicit AccountMigrator(QObject *parent = 0); + explicit AccountMigrator(); /** * @brief migrateFolderDefinitons - migrate the folder definition files