summaryrefslogtreecommitdiffstats
path: root/domino/eventfilter.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-12-09 18:41:59 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-12-09 18:41:59 +0100
commitf8e20b82b5c8c615fd64a52ad5fe499e3734a004 (patch)
tree29c97caaae49b5e6415590425a34a09e00236487 /domino/eventfilter.cpp
parent005d3c6f2b7d45c97fd23aee664e672f1c49c52c (diff)
downloadtde-style-domino-f8e20b82b5c8c615fd64a52ad5fe499e3734a004.tar.gz
tde-style-domino-f8e20b82b5c8c615fd64a52ad5fe499e3734a004.zip
Remove alpha blending for text color specifically for the TDE Menu.
This caused the first level of the TDE menu to be difficult to read without any useful benefit. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'domino/eventfilter.cpp')
-rw-r--r--domino/eventfilter.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/domino/eventfilter.cpp b/domino/eventfilter.cpp
index fc67414..af9c9e8 100644
--- a/domino/eventfilter.cpp
+++ b/domino/eventfilter.cpp
@@ -1258,14 +1258,6 @@ bool DominoStyle::objectEventHandler( const TQStyleControlElementData &ceData,
case TQEvent::Hide:
static_cast<TQWidget*>(obj)->setBackgroundMode(NoBackground);
return false;
- case TQEvent::ApplicationPaletteChange:
- if(obj->isA("PanelKMenu")) {
- TQWidget* w = static_cast<TQWidget*>(obj);
- TQPalette pal = tqApp->palette();
- pal.setColor(TQColorGroup::ButtonText, alphaBlendColors(_popupMenuColor, pal.active().foreground(), 150));
- w->setPalette(pal);
- return true;
- }
default:
return false;
}