diff options
| author | Peter Penz <[email protected]> | 2007-11-06 07:16:23 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-11-06 07:16:23 +0000 |
| commit | f1d1a18a7169e9ad7ad4fd9cd21261d76e1c2bf0 (patch) | |
| tree | 6998f3ca13221fd3ba00ccd9c90929fe52f885db /src/dolphindetailsview.h | |
| parent | 96f134eecc80a9a655d4b85fc2bd078775bb1c34 (diff) | |
When switching from e. g. the icons view to the details view, additional information properties like 'Size' and 'Date' are added as default (showing a details-view without details does not make sense as default setting...). This fix assures that the additional information properties are removed again when switching back to the icons view. Only if the user modified the additional information properties by a GUI-interaction (e. g. by adding a 'Type'), this information is persistet also when switching back to the icon-view.
BUG: 151891
svn path=/trunk/KDE/kdebase/apps/; revision=733313
Diffstat (limited to 'src/dolphindetailsview.h')
| -rw-r--r-- | src/dolphindetailsview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index 57fb98f22..ec98b0faf 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -58,6 +58,7 @@ protected: virtual void paintEvent(QPaintEvent* event); virtual void keyPressEvent(QKeyEvent* event); virtual void resizeEvent(QResizeEvent* event); + virtual void closeEvent(QCloseEvent* event); private slots: /** @@ -135,10 +136,14 @@ private: KFileItem itemForIndex(const QModelIndex& index) const; + KFileItemDelegate::Information infoForColumn(int columnIndex) const; + private: DolphinController* m_controller; QStyleOptionViewItem m_viewOptions; + bool m_clearAdditionalInfo; + bool m_dragging; // TODO: remove this property when the issue #160611 is solved in Qt 4.4 QRect m_dropRect; // TODO: remove this property when the issue #160611 is solved in Qt 4.4 |
