removed monitor for document directory

preferencesAboutTextFull
Claudio Valerio 10 years ago
parent cff1849fd0
commit 8713dc3bcb
  1. 2
      OpenBoard.pro
  2. 6
      src/core/UBPersistenceManager.cpp

@ -11,7 +11,7 @@ CONFIG += debug_and_release \
VERSION_MAJ = 1
VERSION_MIN = 02
VERSION_TYPE = r # a = alpha, b = beta, rc = release candidate, r = release, other => error
VERSION_PATCH = 00
VERSION_PATCH = 03
VERSION = "$${VERSION_MAJ}.$${VERSION_MIN}.$${VERSION_TYPE}.$${VERSION_PATCH}"
VERSION = $$replace(VERSION, "\\.r", "")

@ -170,10 +170,10 @@ QList<QPointer<UBDocumentProxy> > UBPersistenceManager::allDocumentProxies()
shiftPagesToStartWithTheZeroOne(rootDir.path() + "/" + path);
}
QFileSystemWatcher* watcher = new QFileSystemWatcher(this);
watcher->addPath(mDocumentRepositoryPath);
// QFileSystemWatcher* watcher = new QFileSystemWatcher(this);
// watcher->addPath(mDocumentRepositoryPath);
connect(watcher, SIGNAL(directoryChanged(const QString&)), this, SLOT(documentRepositoryChanged(const QString&)));
// connect(watcher, SIGNAL(directoryChanged(const QString&)), this, SLOT(documentRepositoryChanged(const QString&)));
QList<QPointer<UBDocumentProxy> > proxies;

Loading…
Cancel
Save