summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2011-09-20 17:55:46 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2011-09-20 17:55:46 +0200
commit5ba5ca480db1eb14fa1163ce5ac1640f66125b21 (patch)
treecbcef92140ac91161531667ae54e743c6d946efc /src/mainview.h
parentQtWebKit 2.2 related fixes (diff)
downloadrekonq-5ba5ca480db1eb14fa1163ce5ac1640f66125b21.tar.xz
Fix tab size and addTabButton position when a KMessageWidget appears
REVIEW: 102651
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h5
1 files changed, 5 insertions, 0 deletions
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;