m_showZoomSlider(0),
m_showSpaceInfo(0),
m_browseThroughArchives(0),
- m_renameInline(0)
+ m_renameInline(0),
+ m_autoExpandFolders(0)
{
Q_UNUSED(mainWin);
m_renameInline = new QCheckBox(i18nc("@option:check", "Rename inline"), vBox);
connect(m_renameInline, SIGNAL(toggled(bool)), this, SIGNAL(changed()));
+
+ m_autoExpandFolders = new QCheckBox(i18nc("option:check", "Open folders during drag operations"), vBox);
+ connect(m_autoExpandFolders, SIGNAL(toggled(bool)), this, SIGNAL(changed()));
// Add a dummy widget with no restriction regarding
// a vertical resizing. This assures that the dialog layout
settings->setShowSpaceInfo(m_showSpaceInfo->isChecked());
settings->setBrowseThroughArchives(m_browseThroughArchives->isChecked());
settings->setRenameInline(m_renameInline->isChecked());
+ settings->setAutoExpandFolders(m_autoExpandFolders->isChecked());
}
void GeneralSettingsPage::restoreDefaults()
m_showSpaceInfo->setChecked(settings->showSpaceInfo());
m_browseThroughArchives->setChecked(settings->browseThroughArchives());
m_renameInline->setChecked(settings->renameInline());
+ m_autoExpandFolders->setChecked(settings->autoExpandFolders());
}
#include "generalsettingspage.moc"