mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-17 11:21:51 +03:00
AccountMigrator: Do not inherit from QObject as it is not needed yet.
As requested by Danimos review.
This commit is contained in:
parent
65f313f1b4
commit
0e45dd7a3d
2 changed files with 5 additions and 7 deletions
|
@ -31,8 +31,7 @@ namespace Mirall {
|
||||||
// branded client first, it should automatically pick the information
|
// branded client first, it should automatically pick the information
|
||||||
// from the already configured account.
|
// from the already configured account.
|
||||||
|
|
||||||
AccountMigrator::AccountMigrator(QObject *parent) :
|
AccountMigrator::AccountMigrator()
|
||||||
QObject(parent)
|
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,15 +14,14 @@
|
||||||
#ifndef ACCOUNTMIGRATOR_H
|
#ifndef ACCOUNTMIGRATOR_H
|
||||||
#define ACCOUNTMIGRATOR_H
|
#define ACCOUNTMIGRATOR_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QStringList>
|
||||||
|
|
||||||
namespace Mirall {
|
namespace Mirall {
|
||||||
|
|
||||||
class AccountMigrator : public QObject
|
class AccountMigrator {
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
explicit AccountMigrator(QObject *parent = 0);
|
explicit AccountMigrator();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief migrateFolderDefinitons - migrate the folder definition files
|
* @brief migrateFolderDefinitons - migrate the folder definition files
|
||||||
|
|
Loading…
Reference in a new issue