diff options
| author | Peter Penz <[email protected]> | 2007-02-18 11:20:32 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-02-18 11:20:32 +0000 |
| commit | 3316903fe8a9a3c95dad18d19d795cdb55208473 (patch) | |
| tree | 19a2c7522a426e10b5638673a15d9322b41c923e /src/dolphinmainwindow.cpp | |
| parent | 0368591365d3a4ddd7c7cd189087eeed96acd1fa (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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);
|
