|
|
@ -330,7 +330,7 @@ void LipstikStyle::polish(TQWidget* widget)
|
|
|
|
// applications cg.midlight() so we override it to standard background.
|
|
|
|
// applications cg.midlight() so we override it to standard background.
|
|
|
|
// Thanks Comix! (because this was ugly from day one!)
|
|
|
|
// Thanks Comix! (because this was ugly from day one!)
|
|
|
|
// NOTE: Check if we can set it earlier (before painting), cause
|
|
|
|
// NOTE: Check if we can set it earlier (before painting), cause
|
|
|
|
// on slow machines we can see the tqrepainting of the bar (from white to background...)
|
|
|
|
// on slow machines we can see the repainting of the bar (from white to background...)
|
|
|
|
TQPalette kPalette = TQApplication::palette();
|
|
|
|
TQPalette kPalette = TQApplication::palette();
|
|
|
|
kPalette.setColor( TQColorGroup::Midlight,kPalette.active().background() );
|
|
|
|
kPalette.setColor( TQColorGroup::Midlight,kPalette.active().background() );
|
|
|
|
TQApplication::setPalette( kPalette );
|
|
|
|
TQApplication::setPalette( kPalette );
|
|
|
@ -3980,7 +3980,7 @@ bool LipstikStyle::eventFilter(TQObject *obj, TQEvent *ev)
|
|
|
|
TQMouseEvent *me = dynamic_cast<TQMouseEvent*>(ev);
|
|
|
|
TQMouseEvent *me = dynamic_cast<TQMouseEvent*>(ev);
|
|
|
|
|
|
|
|
|
|
|
|
if (tabbar && me) {
|
|
|
|
if (tabbar && me) {
|
|
|
|
// avoid unnecessary tqrepaints (which otherwise would occour on every
|
|
|
|
// avoid unnecessary repaints (which otherwise would occour on every
|
|
|
|
// MouseMove event causing high cpu load).
|
|
|
|
// MouseMove event causing high cpu load).
|
|
|
|
|
|
|
|
|
|
|
|
bool tqrepaint = true;
|
|
|
|
bool tqrepaint = true;
|
|
|
|