svn path=/trunk/KDE/kdebase/apps/; revision=788152
}
}
+void DolphinIconsView::showEvent(QShowEvent* event)
+{
+ Q_ASSERT(qobject_cast<DolphinFileItemDelegate*>(itemDelegate()) != 0);
+ DolphinFileItemDelegate* delegate = static_cast<DolphinFileItemDelegate*>(itemDelegate());
+ delegate->setMaximumSize(m_itemSize);
+
+ KCategorizedView::showEvent(event);
+}
+
void DolphinIconsView::slotShowPreviewChanged()
{
const DolphinView* view = m_controller->dolphinView();
virtual void dropEvent(QDropEvent* event);
virtual void keyPressEvent(QKeyEvent* event);
virtual void wheelEvent(QWheelEvent* event);
+ virtual void showEvent(QShowEvent* event);
private slots:
void slotShowPreviewChanged();