Commit 8713dc3b authored by Claudio Valerio's avatar Claudio Valerio

removed monitor for document directory

parent cff1849f
...@@ -11,7 +11,7 @@ CONFIG += debug_and_release \ ...@@ -11,7 +11,7 @@ CONFIG += debug_and_release \
VERSION_MAJ = 1 VERSION_MAJ = 1
VERSION_MIN = 02 VERSION_MIN = 02
VERSION_TYPE = r # a = alpha, b = beta, rc = release candidate, r = release, other => error 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 = "$${VERSION_MAJ}.$${VERSION_MIN}.$${VERSION_TYPE}.$${VERSION_PATCH}"
VERSION = $$replace(VERSION, "\\.r", "") VERSION = $$replace(VERSION, "\\.r", "")
......
...@@ -170,10 +170,10 @@ QList<QPointer<UBDocumentProxy> > UBPersistenceManager::allDocumentProxies() ...@@ -170,10 +170,10 @@ QList<QPointer<UBDocumentProxy> > UBPersistenceManager::allDocumentProxies()
shiftPagesToStartWithTheZeroOne(rootDir.path() + "/" + path); shiftPagesToStartWithTheZeroOne(rootDir.path() + "/" + path);
} }
QFileSystemWatcher* watcher = new QFileSystemWatcher(this); // QFileSystemWatcher* watcher = new QFileSystemWatcher(this);
watcher->addPath(mDocumentRepositoryPath); // 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; QList<QPointer<UBDocumentProxy> > proxies;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment