From 5ba5ca480db1eb14fa1163ce5ac1640f66125b21 Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Tue, 20 Sep 2011 17:55:46 +0200 Subject: Fix tab size and addTabButton position when a KMessageWidget appears REVIEW: 102651 --- src/mainview.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index ce17a772..f8aa94b7 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -105,6 +105,8 @@ public: return m_recentlyClosedTabs; } + int originalWidthHint() const; + Q_SIGNALS: // current tab signals void currentTitle(const QString &url); @@ -187,6 +189,9 @@ private: QString m_loadingGitPath; + // The original width hint of the mainview for tabs width + int m_originalWidthHint; + // the new tab button QToolButton *m_addTabButton; -- cgit v1.2.1