зеркало из https://github.com/nextcloud/desktop.git
Fix clang warnings about deleting incomplete 'Account'.
This commit is contained in:
Родитель
cfada67aa6
Коммит
2578832002
|
@ -27,6 +27,7 @@
|
|||
#endif
|
||||
#include "configfile.h"
|
||||
#include "utility.h"
|
||||
#include "account.h"
|
||||
#include <json.h>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
|
@ -43,6 +44,9 @@
|
|||
|
||||
namespace OCC {
|
||||
|
||||
OwncloudPropagator::~OwncloudPropagator()
|
||||
{}
|
||||
|
||||
/* The maximum number of active job in parallel */
|
||||
int OwncloudPropagator::maximumActiveJob()
|
||||
{
|
||||
|
@ -631,6 +635,9 @@ void PropagateDirectory::finalize()
|
|||
emit finished(_hasError == SyncFileItem::NoStatus ? SyncFileItem::Success : _hasError);
|
||||
}
|
||||
|
||||
CleanupPollsJob::~CleanupPollsJob()
|
||||
{}
|
||||
|
||||
void CleanupPollsJob::start()
|
||||
{
|
||||
if (_pollInfos.empty()) {
|
||||
|
|
|
@ -270,6 +270,8 @@ public:
|
|||
, _account(account)
|
||||
{ }
|
||||
|
||||
~OwncloudPropagator();
|
||||
|
||||
void start(const SyncFileItemVector &_syncedItems);
|
||||
|
||||
QAtomicInt _downloadLimit;
|
||||
|
@ -359,6 +361,8 @@ public:
|
|||
SyncJournalDb *journal, const QString &localPath, QObject* parent = 0)
|
||||
: QObject(parent), _pollInfos(pollInfos), _account(account), _journal(journal), _localPath(localPath) {}
|
||||
|
||||
~CleanupPollsJob();
|
||||
|
||||
void start();
|
||||
signals:
|
||||
void finished();
|
||||
|
|
Загрузка…
Ссылка в новой задаче