NOISSUE use QtConcurrent to run FS operations in worker threads
Not all operations - only the ones that aren't in error handling. The API for QFuture is too nasty to do much more in a sensible way.
This commit is contained in:
1 parent
d66fdcd4cc
commit
1b4851a941
7 files changed
+70
-19
No files matched your search
@@ -641,6 +641,8 @@ QRect GroupView::geometryRect(const QModelIndex &index) const
|
||||
|
||||
QModelIndex GroupView::indexAt(const QPoint &point) const
|
||||
{
|
||||
const_cast<GroupView*>(this)->executeDelayedItemsLayout();
|
||||
|
||||
for (int i = 0; i < model()->rowCount(); ++i)
|
||||
{
|
||||
QModelIndex index = model()->index(i, 0);
|
||||
|
||||
Reference in new issue
Block a user