diff options
| author | Peter Penz <[email protected]> | 2006-12-13 07:41:11 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2006-12-13 07:41:11 +0000 |
| commit | 163fa7ce30c0bd1b18d0c750bf9358560c2db7af (patch) | |
| tree | cf99237a8dd236324fa1fd7967712f861be0477b /src/infosidebarpage.cpp | |
| parent | cb2b58535bedacbec50b3dad9680b1fa4fe30a9e (diff) | |
Instead of having a the 3 view modes "icons", "details" and "previews" only 2 view modes are used now: "icons" and "details". Whether a preview is shown or not is part of the directory view properties. This also means that it will be possible to show previews in the "details" view in future releases.
svn path=/trunk/playground/utils/dolphin/; revision=613029
Diffstat (limited to 'src/infosidebarpage.cpp')
| -rw-r--r-- | src/infosidebarpage.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index f08649ac2..c69fbf346 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -178,7 +178,13 @@ void InfoSidebarPage::showItemInfo() KIO::PreviewJob* job = KIO::filePreview(list, m_preview->width(), - K3Icon::SizeEnormous); + K3Icon::SizeEnormous, + 0, + 0, + true, + false); + job->setIgnoreMaximumSize(true); + connect(job, SIGNAL(gotPreview(const KFileItem*, const QPixmap&)), this, SLOT(gotPreview(const KFileItem*, const QPixmap&))); connect(job, SIGNAL(failed(const KFileItem*)), |
