m_additionalInfo(0),
m_applyToCurrentFolder(0),
m_applyToSubFolders(0),
+ m_applyToAllFolders(0),
m_useAsDefault(0)
{
Q_ASSERT(dolphinView != 0);
// If the user selected 'Apply To All Folders' the view properties implicitely
// are also used as default for new folders.
const bool useAsDefault = applyToAllFolders ||
- (m_useAsDefault != 0) && m_useAsDefault->isChecked();
+ ((m_useAsDefault != 0) && m_useAsDefault->isChecked());
if (useAsDefault) {
// For directories where no .directory file is available, the .directory
// file stored for the global view properties is used as fallback. To update
// all existing viewproperties invalid, as they have a smaller time stamp.
GeneralSettings* settings = DolphinSettings::instance().generalSettings();
settings->setViewPropsTimestamp(QDateTime::currentDateTime());
-
- // This is also a good chance to make a cleanup of all mirrored view properties:
- const KUrl mirroredDir = ViewProperties::mirroredDirectory();
- KIO::NetAccess::del(mirroredDir, this);
}
m_dolphinView->setMode(m_viewProps->viewMode());