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/viewsettingspage.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/viewsettingspage.cpp')
| -rw-r--r-- | src/viewsettingspage.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/viewsettingspage.cpp b/src/viewsettingspage.cpp index ee817a06a..a052d84f6 100644 --- a/src/viewsettingspage.cpp +++ b/src/viewsettingspage.cpp @@ -33,25 +33,20 @@ ViewSettingsPage::ViewSettingsPage(QWidget *parent) : SettingsPageBase(parent), m_iconsPage(0), - m_detailsPage(0), - m_previewsPage(0) + m_detailsPage(0) { Q3VBoxLayout* topLayout = new Q3VBoxLayout(this, 0, KDialog::spacingHint()); QTabWidget* tabWidget = new QTabWidget(this); // initialize 'Icons' tab - m_iconsPage = new IconsViewSettingsPage(/*DolphinIconsView::Icons,*/ tabWidget); + m_iconsPage = new IconsViewSettingsPage(tabWidget); tabWidget->addTab(m_iconsPage, SmallIcon("view_icon"), i18n("Icons")); // initialize 'Details' tab m_detailsPage = new DetailsViewSettingsPage(tabWidget); tabWidget->addTab(m_detailsPage, SmallIcon("view_text"), i18n("Details")); - // initialize 'Previews' tab - m_previewsPage = new IconsViewSettingsPage(/*DolphinIconsView::Previews,*/ tabWidget); - tabWidget->addTab(m_previewsPage, SmallIcon("gvdirpart"), i18n("Previews")); - topLayout->addWidget(tabWidget, 0, 0 ); } @@ -63,7 +58,6 @@ void ViewSettingsPage::applySettings() { m_iconsPage->applySettings(); m_detailsPage->applySettings(); - m_previewsPage->applySettings(); } #include "viewsettingspage.moc" |
