From 7d47d245c9fb49544c28e85fa906b7d88342f127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 16 May 2012 12:04:03 +0000 Subject: [PATCH] use timer to check filesystem; refs #155 --- src/qbrowserlib/filestorage.hxx | 34 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/src/qbrowserlib/filestorage.hxx b/src/qbrowserlib/filestorage.hxx index 7e7f13d..c7dde4c 100644 --- a/src/qbrowserlib/filestorage.hxx +++ b/src/qbrowserlib/filestorage.hxx @@ -9,9 +9,10 @@ #include #include #include -#include #include #include +#include +#include #include @@ -59,24 +60,22 @@ class FileStorage: public Storage { Q_OBJECT; public: /*! @param file full path to storage file */ - FileStorage(QString file): _file(file) { + FileStorage(QString file, int msec=1000): _file(file), _fileInfo(_file) { TRC; LOG<<"file: "<