diff options
| author | Peter Penz <[email protected]> | 2007-10-26 19:02:33 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-10-26 19:02:33 +0000 |
| commit | bbf9faa05396d66b3dbe101a0c309459e3ffacb1 (patch) | |
| tree | 2d38fabb1f923be80129cfb22d2da314fa759df6 /src/dolphincolumnwidget.cpp | |
| parent | c1f27bb620337c7f173fce1dd3097fa3e43c2878 (diff) | |
Simplify DolphinController: don't remember the show-preview state in the controller and add an unnecessary additional signal; instead just read the state from the DolphinView
svn path=/trunk/KDE/kdebase/apps/; revision=729726
Diffstat (limited to 'src/dolphincolumnwidget.cpp')
| -rw-r--r-- | src/dolphincolumnwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index c24ae50c2..c212e6ad8 100644 --- a/src/dolphincolumnwidget.cpp +++ b/src/dolphincolumnwidget.cpp @@ -336,7 +336,7 @@ void DolphinColumnWidget::generatePreviews(const KFileItemList& items) // TODO: same implementation as in DolphinView; create helper class // for generatePreviews(), showPreview() and isCutItem() - if (m_view->m_controller->showPreview()) { + if (m_view->m_controller->dolphinView()->showPreview()) { KIO::PreviewJob* job = KIO::filePreview(items, 128); connect(job, SIGNAL(gotPreview(const KFileItem&, const QPixmap&)), this, SLOT(showPreview(const KFileItem&, const QPixmap&))); |
