diff options
author | Markus Goetz <markus@woboq.com> | 2016-09-06 12:11:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 12:11:03 +0300 |
commit | 524220d0907713408298a36df18bd04635ce5563 (patch) | |
tree | be4f1210e3bbadd43cc9b0366495180939264993 /src/gui/folderstatusmodel.h | |
parent | af9c4d0e2fe1a42e1faf14779ca5ef1088bd1314 (diff) |
Selective Sync: Fix request loop and show error in view (#5154)
I got into a situation where the model would endlessly request the directory
contents from the server because we did not notice yet that the server
is actually in maintenance mode while we were expanding the tree view when
changing the tab to the account or when just expanding it by clicking.
Diffstat (limited to 'src/gui/folderstatusmodel.h')
-rw-r--r-- | src/gui/folderstatusmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/folderstatusmodel.h b/src/gui/folderstatusmodel.h index f12de0227..312e978ae 100644 --- a/src/gui/folderstatusmodel.h +++ b/src/gui/folderstatusmodel.h @@ -63,6 +63,7 @@ public: bool _fetched; // If we did the LSCOL for this folder already bool _fetching; // Whether a LSCOL job is currently running bool _hasError; // If the last fetching job ended in an error + QString _lastErrorString; bool _fetchingLabel; // Whether a 'fetching in progress' label is shown. bool _isUndecided; // undecided folders are the big folders that the user has not accepted yet |