diff options
| author | Peter Penz <[email protected]> | 2008-06-29 21:40:07 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-06-29 21:40:07 +0000 |
| commit | 4cf8450bc4df6bbd8a307a087de54f3986ee4a33 (patch) | |
| tree | 243190432e544fa748ef2d35dc67da5921c22ac6 /src/iconmanager.h | |
| parent | 1f3607bdc1f9c4c39049079a973d5027187512c2 (diff) | |
The check whether there is a cut-selection when receiving a preview consumes 12 % (!) of the runtime in addToPreviewQueue(). The check is now done only once before starting the preview generation and when the clipboard data has been changed.
svn path=/trunk/KDE/kdebase/apps/; revision=826126
Diffstat (limited to 'src/iconmanager.h')
| -rw-r--r-- | src/iconmanager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/iconmanager.h b/src/iconmanager.h index 06d7df85a..aee7672aa 100644 --- a/src/iconmanager.h +++ b/src/iconmanager.h @@ -170,6 +170,11 @@ private: */ bool m_clearItemQueues; + /** + * True if a selection has been done which should cut items. + */ + bool m_hasCutSelection; + int m_pendingVisiblePreviews; QAbstractItemView* m_view; |
