diff options
Diffstat (limited to 'src/views/dolphinview.h')
| -rw-r--r-- | src/views/dolphinview.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index e3f83979c..67233b668 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -791,6 +791,11 @@ private Q_SLOTS: void updateSortFoldersFirst(bool foldersFirst); /** + * Cache out zoom mode changes to prevent constant Settings requests + */ + void updateDefaultZoomLevel(); + + /** * Updates the view properties of the current URL to the * sorting of hidden files given by \a hiddenLast. */ @@ -1007,6 +1012,9 @@ private: // resolution scroll wheels) int m_controlWheelAccumulatedDelta; + // Cached out default zoom level after view mode changes + int m_defaultZoomLevel = -1; + QList<QUrl> m_selectedUrls; // Used for making the view to remember selections after F5 and file operations bool m_clearSelectionBeforeSelectingNewItems; bool m_markFirstNewlySelectedItemAsCurrent; |
