[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Jul 15 06:37:41 CEST 2004


CVS commit by staikos: 

cvsrevertlast: I don't believe this fixes all the flicker problems, but it
does remove this warning:
QWidget::setBackgroundMode: FixedColor or FixedPixmap makes no sense
and the background painting belongs in the toplevelview, not the widget, anyway


  M +1 -3      kstviewwidget.cpp   1.50


--- kdeextragear-2/kst/kst/kstviewwidget.cpp  #1.49:1.50
@@ -32,5 +32,4 @@
 #include "ksttoplevelview.h"
 #include "kstviewwidget.h"
-#include "kstsettings.h"
 
 KstViewWidget::KstViewWidget(KstTopLevelViewPtr view, QWidget *parent, const char *name, WFlags w)
@@ -40,6 +39,5 @@ KstViewWidget::KstViewWidget(KstTopLevel
   setMouseTracking(true);
   setFocusPolicy(QWidget::StrongFocus);
-  setBackgroundMode(Qt::FixedColor);
-  setPaletteBackgroundColor(KstSettings::globalSettings()->backgroundColor);
+  setBackgroundMode(Qt::NoBackground);
 }
 





More information about the Kst mailing list