diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 12:48:57 +0900 |
commit | d5688771d8a6837975be512ee37f61bad7dbd345 (patch) | |
tree | b8ef261c559484b01e3a035333561e5226042b4e /tdestyles/klegacy | |
parent | 44e712a770ad0ab59d33790a80b5f6235cff6921 (diff) | |
download | tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.tar.gz tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdestyles/klegacy')
-rw-r--r-- | tdestyles/klegacy/klegacystyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdestyles/klegacy/klegacystyle.cpp b/tdestyles/klegacy/klegacystyle.cpp index 823e737ea..1dcfadf56 100644 --- a/tdestyles/klegacy/klegacystyle.cpp +++ b/tdestyles/klegacy/klegacystyle.cpp @@ -2214,7 +2214,7 @@ void KLegacyStyle::drawPushButton(TQPushButton *btn, TQPainter *p) { key.data.shadow = KLegacy::In; } else { key.data.state = ((btn->isEnabled()) ? - ((static_cast<TQWidget *>( btn ) == priv->lastWidget) ? KLegacy::Prelight : KLegacy::Normal) : + ((btn == priv->lastWidget) ? KLegacy::Prelight : KLegacy::Normal) : KLegacy::Insensitive); key.data.shadow = ((btn->isOn() || btn->isDown()) ? KLegacy::In : KLegacy::Out); |