Logo Search packages:      
Sourcecode: d3lphin version File versions  Download package

void Dolphin::closeleftSidebar (  )  [private, slot]

Stores the current sidebar width and closes the sidebar.

Definition at line 1652 of file dolphin.cpp.

References DolphinSettings::leftsidebar().

{
    if (m_leftsidebar == 0) {
        // the sidebar has already been closed
        return;
    }

    // store width of sidebar and remember that the sidebar has been closed
    leftSidebarSettings* settings = DolphinSettings::instance().leftsidebar();
    settings->setVisible(false);
    settings->setWidth(m_leftsidebar->width());

    m_leftsidebar->deleteLater();
    m_leftsidebar = 0;
}


Generated by  Doxygen 1.6.0   Back to index