From 4de262196a47f6baf64bdb054f02c52aae979e8b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 2 Feb 2012 15:10:45 +0100 Subject: Fix crash when opening a tab during a tooltip is shown Thanks a lot to Mathias Tillman for finding a 100 % reliable way how to reproduce the issue and for the initial patch! BUG: 278302 FIXED-IN: 4.8.1 --- src/views/tooltips/tooltipmanager.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/views/tooltips/tooltipmanager.h') diff --git a/src/views/tooltips/tooltipmanager.h b/src/views/tooltips/tooltipmanager.h index b13641109..4fd8f843e 100644 --- a/src/views/tooltips/tooltipmanager.h +++ b/src/views/tooltips/tooltipmanager.h @@ -68,11 +68,6 @@ private slots: void showToolTip(); private: - int toolTipMargin() const; - -private: - QWidget* m_parentWidget; - /// Timeout from requesting a tooltip until the tooltip /// should be shown QTimer* m_showToolTipTimer; @@ -86,6 +81,7 @@ private: bool m_toolTipRequested; bool m_metaDataRequested; bool m_appliedWaitCursor; + int m_margin; KFileItem m_item; QRect m_itemRect; }; -- cgit v1.3