[kmail2] [Bug 396339] [Kmail] Main and status toolbars options not remembered

Max bugzilla_noreply at kde.org
Tue Jul 17 16:08:13 BST 2018


https://bugs.kde.org/show_bug.cgi?id=396339

Max <maxrd2 at smoothware.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |---
     Ever confirmed|0                           |1
                 CC|                            |maxrd2 at smoothware.net
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Max <maxrd2 at smoothware.net> ---
KMail does saveMainWindowSettings() from mainwindow destructor:
https://cgit.kde.org/kmail.git/tree/src/kmmainwin.cpp#n99

That code should probably be moved to QMainWindow::closeEvent()

void KMMainWin::closeEvent(QCloseEvent *event)
{
    QMainWindow::closeEvent(event);
    if(event->isAccepted()) {
        ... saveMainWindowSettings() ...
    }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list