[Pkg-owncloud-commits] [owncloud-client] 09/38: AccountMigrator: Do not inherit from QObject as it is not needed yet.

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Sep 5 20:20:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch sid
in repository owncloud-client.

commit 0e45dd7a3d49ee4d30bc3f8b0d3c39c947ed0865
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Fri Jun 13 11:58:16 2014 +0200

    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 c9af1b7..51e3f2e 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 1d3e971..49e3fa0 100644
--- a/src/mirall/accountmigrator.h
+++ b/src/mirall/accountmigrator.h
@@ -14,15 +14,14 @@
 #ifndef ACCOUNTMIGRATOR_H
 #define ACCOUNTMIGRATOR_H
 
-#include <QObject>
+#include <QStringList>
 
 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list