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 f7083c1b authored by Laurent Montel's avatar Laurent Montel 😁

Allow to restore/save dialog size

parent b90fa959
......@@ -345,3 +345,17 @@ void ArchiveMailWidget::slotItemChanged(QTreeWidgetItem *item, int col)
QSize ArchiveMailWidget::restoreDialogSize() const
auto group = config()->group(myConfigGroupName);
const QSize size = group.readEntry("Size", QSize(500, 300));
return size;
void ArchiveMailWidget::saveDialogSize(const QSize &size)
auto group = config()->group(myConfigGroupName);
group.writeEntry("Size", size);
......@@ -58,6 +58,9 @@ public:
void needReloadConfig();
QSize restoreDialogSize() const override;
void saveDialogSize(const QSize &size) override;
void archiveNow(ArchiveMailInfo *info);
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