diff options
| author | Peter Penz <[email protected]> | 2008-08-26 22:21:50 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-08-26 22:21:50 +0000 |
| commit | ca7aaecbdbddb27f7442e69d2770b97b4307f338 (patch) | |
| tree | 82e3ebf42148cebb706af41bc48dd2f7895d2f6a /src/dolphindetailsview.cpp | |
| parent | 71819c80bb79229da4c4a9c5fc57ae7fab3fd0d4 (diff) | |
Provide a common iconsize-widget for the settings dialog of the icons-, details- and column-view. The current version still requires some improvements (Labels on the left + right, preview, ...).
svn path=/trunk/KDE/kdebase/apps/; revision=852961
Diffstat (limited to 'src/dolphindetailsview.cpp')
| -rw-r--r-- | src/dolphindetailsview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 86ad71ad7..61cb0df76 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -27,6 +27,7 @@ #include "draganddrophelper.h" #include "selectionmanager.h" #include "viewproperties.h" +#include "zoomlevelinfo.h" #include "dolphin_detailsmodesettings.h" #include "dolphin_generalsettings.h" @@ -496,7 +497,7 @@ QRect DolphinDetailsView::elasticBandRect() const void DolphinDetailsView::setZoomLevel(int level) { - const int size = DolphinController::iconSizeForZoomLevel(level); + const int size = ZoomLevelInfo::iconSizeForZoomLevel(level); DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings(); const bool showPreview = m_controller->dolphinView()->showPreview(); |
