From 66238f3a509a11fbe0de8801f493dadad71ec913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 27 Mar 2016 11:16:16 +0200 Subject: [PATCH] Fix crashes in hover control MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/widget/ia_ora.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/widget/ia_ora.cpp b/src/widget/ia_ora.cpp index 2220e6d..522e588 100644 --- a/src/widget/ia_ora.cpp +++ b/src/widget/ia_ora.cpp @@ -300,11 +300,11 @@ void MandrivaStyle::updateHoverControl(const TQPoint &pos, const TQStyleControlE if (hoverWidget->inherits("TQScrollBar")) { TQRect subline(querySubControlMetrics(CC_ScrollBar, ceData, elementFlags, - SC_ScrollBarSubLine, hoverWidget)), + SC_ScrollBarSubLine, TQStyleOption::Default, hoverWidget)), addline(querySubControlMetrics(CC_ScrollBar, ceData, elementFlags, - SC_ScrollBarAddLine, hoverWidget)), + SC_ScrollBarAddLine, TQStyleOption::Default, hoverWidget)), slider(querySubControlMetrics(CC_ScrollBar, ceData, elementFlags, - SC_ScrollBarSlider, hoverWidget)); + SC_ScrollBarSlider, TQStyleOption::Default, hoverWidget)); if (subline.contains(pos)) hoverControl = HoverScrollBarSubLine; else if (addline.contains(pos)) @@ -330,9 +330,9 @@ void MandrivaStyle::updateHoverControl(const TQPoint &pos, const TQStyleControlE return; TQRect comboArrow(querySubControlMetrics(CC_ComboBox, ceData, elementFlags, - SC_ComboBoxArrow, hoverWidget)), + SC_ComboBoxArrow, TQStyleOption::Default, hoverWidget)), comboEditField(querySubControlMetrics(CC_ComboBox, ceData, elementFlags, - SC_ComboBoxEditField, hoverWidget)); + SC_ComboBoxEditField, TQStyleOption::Default, hoverWidget)); if (comboArrow.contains(pos)) hoverControl = HoverComboBoxArrow;