summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 943cbd8..3e94249 100644
--- a/src/config.h
+++ b/src/config.h
@@ -78,6 +78,11 @@ public:
/// Optional alternate notmuch config file. Empty means "let notmuch decide".
QString notmuchConfig() const { return m_notmuchConfig; }
+ /// Starting message-pane zoom for a profile with no saved UI state. Once
+ /// the user zooms, the state file remembers that instead, so this is only
+ /// ever the default. Clamped by MessageView::clampZoom() on use.
+ qreal messageZoom() const { return m_messageZoom; }
+
/// Every non-fatal problem, both kinds below. Shown in the status bar.
QStringList warnings() const { return m_warnings; }
@@ -101,6 +106,7 @@ private:
QList<SavedQuery> m_savedQueries;
QString m_syncCommand;
QString m_notmuchConfig;
+ qreal m_messageZoom = 1.0;
QStringList m_warnings;
QStringList m_problems;
};