SyncJournalDb: Cleanup of Constructor interface.

The parameter path is not longer needed.
This commit is contained in:
Klaas Freitag 2016-07-10 13:04:29 +02:00
parent 9cc90159f1
commit 37fc4e4332
3 changed files with 2 additions and 3 deletions

View File

@ -61,7 +61,6 @@ Folder::Folder(const FolderDefinition& definition,
, _forceSyncOnPollTimeout(false)
, _consecutiveFailingSyncs(0)
, _consecutiveFollowUpSyncs(0)
, _journal(definition.localPath)
, _fileLog(new SyncRunFileLog)
{
qRegisterMetaType<SyncFileItemVector>("SyncFileItemVector");

View File

@ -29,7 +29,7 @@
namespace OCC {
SyncJournalDb::SyncJournalDb(const QString& path, QObject *parent) :
SyncJournalDb::SyncJournalDb( QObject *parent) :
QObject(parent), _transaction(0)
{

View File

@ -36,7 +36,7 @@ class OWNCLOUDSYNC_EXPORT SyncJournalDb : public QObject
{
Q_OBJECT
public:
explicit SyncJournalDb(const QString& path, QObject *parent = 0);
explicit SyncJournalDb(QObject *parent = 0);
virtual ~SyncJournalDb();
// to verify that the record could be queried successfully check