From 0100c86887764547a705db5c311bcb5d6939423d Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 19 Jun 2016 15:58:37 +0200 Subject: download list and data tree now also maintain their layout between sessions --- src/mainwindow.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 3364bb37..0e542996 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -60,6 +60,7 @@ namespace MOShared { class DirectoryEntry; } #include #include #include +#include #include #include @@ -284,6 +285,8 @@ private: void dropLocalFile(const QUrl &url, const QString &outputDir, bool move); + bool registerWidgetState(const QString &name, QHeaderView *view, const char *oldSettingName = nullptr); + private: static const char *PATTERN_BACKUP_GLOB; @@ -348,6 +351,8 @@ private: LockedDialog *m_LockDialog { nullptr }; + std::vector> m_PersistedGeometry; + enum class ShortcutType { Toolbar, Desktop, -- cgit v1.3.1