diff options
author | Slávek Banko <[email protected]> | 2016-03-27 11:16:16 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-27 11:16:16 +0200 |
commit | 66238f3a509a11fbe0de8801f493dadad71ec913 (patch) | |
tree | 534672a1cea56d4bb84a7df83f8406ae5e0793e2 | |
parent | 1a83a356218db3f61d2b51047154052770291a75 (diff) | |
download | tde-style-ia-ora-66238f3a509a11fbe0de8801f493dadad71ec913.tar.gz tde-style-ia-ora-66238f3a509a11fbe0de8801f493dadad71ec913.zip |
Fix crashes in hover control
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | src/widget/ia_ora.cpp | 10 |
1 files 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; |