summaryrefslogtreecommitdiffstats
path: root/filestreewidget.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-03-21 16:14:54 +0100
committerArno <am@disconnect.de>2013-03-21 16:14:54 +0100
commitce402f298b2f9733b614fbf1bde99a052d0ab5c0 (patch)
tree26da14cacb2e4fffcab47cf0a61d066568a15e7a /filestreewidget.cpp
parent03831d3669ea49a99a15aaf5d17724be8c533b85 (diff)
downloadSheMov-ce402f298b2f9733b614fbf1bde99a052d0ab5c0.tar.gz
SheMov-ce402f298b2f9733b614fbf1bde99a052d0ab5c0.tar.bz2
SheMov-ce402f298b2f9733b614fbf1bde99a052d0ab5c0.zip
Final inotify!
A huge commit, I know, but it was definitely worth it! It makes the homebrew FilesystemModel work! It's divided up into two threads: 1. The Watcher: it reacts on inotify events and dispatches them to: 2. The Collector: this thread gathers the data and emits the SIGNALS to the the view. Now we can actually refresh the View, not possible with QFileSystemModel, and the data reloads in almost real time without blocking the GUI. Unfortunately this uncovered some bugs I had to fix: 1. Helper::md5sum: Don't crash if read fails with -1 2. SmTreeModel::addRow is broken. Even after 5h I couldn't figure out how or why, so I brute forced it. Reset the moded when a file is added. 3. Get rid of a lot of unneeded #include's I guess that's about it...
Diffstat (limited to 'filestreewidget.cpp')
0 files changed, 0 insertions, 0 deletions