diff options
| author | Peter Penz <[email protected]> | 2012-04-06 23:06:05 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-04-06 23:12:07 +0200 |
| commit | dc555b8e56162bb908ad398341c5d7828d443bf3 (patch) | |
| tree | bd2f5d817a466cc3ae56d54405ae92344a6a2cd5 /src/views | |
| parent | 5d27eb81cd038d1cf66f21efa24cb8c2ebd52557 (diff) | |
Allow to specify whether an upscaling of images should be done
The option is currently hidden as up to now only Nuno requested it,
but it seems to be urgent: "my icon making productivity has drop subtantialy"
((c) 2012 Nuno)
As I don't want to get blamed for an outdated Oxygen-icon-set I have
no other choice ;-)
CCMAIL: [email protected]
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphinitemlistcontainer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/dolphinitemlistcontainer.cpp b/src/views/dolphinitemlistcontainer.cpp index 391dc648f..5b7522f00 100644 --- a/src/views/dolphinitemlistcontainer.cpp +++ b/src/views/dolphinitemlistcontainer.cpp @@ -48,9 +48,11 @@ DolphinItemListContainer::DolphinItemListContainer(KDirLister* dirLister, controller()->setModel(new KFileItemModel(dirLister, this)); m_fileItemListView = new KFileItemListView(); + controller()->setView(m_fileItemListView); + m_fileItemListView->setWidgetCreator(new KItemListWidgetCreator<DolphinFileItemListWidget>()); m_fileItemListView->setEnabledSelectionToggles(GeneralSettings::showSelectionToggle()); - controller()->setView(m_fileItemListView); + m_fileItemListView->setEnlargeSmallPreviews(GeneralSettings::enlargeSmallPreviews()); updateAutoActivationDelay(); updateFont(); |
