From 3316903fe8a9a3c95dad18d19d795cdb55208473 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 18 Feb 2007 11:20:32 +0000 Subject: View properties dialog: Allow to reset all view properties (the timestamp is used for this). Additionally it is possible for the user to specify whether the current view properties should be the default for new directories. svn path=/trunk/KDE/kdebase/apps/; revision=634789 --- src/dolphinmainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index dda1bdd47..bd91de09a 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -883,6 +883,9 @@ void DolphinMainWindow::init() // a proper default window size is given at the end of DolphinMainWindow::init(). GeneralSettings* generalSettings = DolphinSettings::instance().generalSettings(); const bool firstRun = generalSettings->firstRun(); + if (firstRun) { + generalSettings->setViewPropsTimestamp(QDateTime::currentDateTime()); + } setAcceptDrops(true); -- cgit v1.3