Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit feda600a authored by Laurent Montel's avatar Laurent Montel 😁

Save/restore header

parent b1a17374
......@@ -29,6 +29,7 @@ License along with this library. If not, see <>.
#include <QPointer>
#include <QPushButton>
#include <QTreeView>
#include <QHeaderView>
#include <klocalizedstring.h>
#include <kmessagebox.h>
......@@ -91,12 +92,16 @@ void IMEditorDialog::readConfig()
if (sizeDialog.isValid()) {
const QByteArray header = group.readEntry("Header", QByteArray());
if (!header.isEmpty())
void IMEditorDialog::writeConfig()
KConfigGroup group(KGlobal::config(), "IMEditorDialog");
group.writeEntry("Size", size());
group.writeEntry("Header", mView->header()->saveState());
void IMEditorDialog::setAddresses(const IMAddress::List &addresses)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment