[Kst] branches/work/kst/portto4/kst

Adam Treat treat at kde.org
Mon Jul 16 18:48:30 CEST 2007


SVN commit 688697 by treat:

* Pass some args when needed


 AM            gdb-kst  
 M  +1 -1      run-kst  
 M  +4 -4      src/widgets/gradienteditor.cpp  


** branches/work/kst/portto4/kst/gdb-kst #property svn:executable
   + *
--- branches/work/kst/portto4/kst/run-kst #688696:688697
@@ -5,4 +5,4 @@
 export SCRIPTDIR=$PWD
 export BUILDDIR=$PWD/build
 
-$BUILDDIR/bin/kst
+$BUILDDIR/bin/kst "$@"
--- branches/work/kst/portto4/kst/src/widgets/gradienteditor.cpp #688696:688697
@@ -108,13 +108,13 @@
 {
   Q_UNUSED(event);
 
+  if (!isEnabled()) {
+    return;
+  }
+
   QPainter painter(this);
   painter.setRenderHint(QPainter::Antialiasing, true);
 
-//   if (!isEnabled()) {
-//     return;
-//   }
-
   painter.fillRect(rect(), QBrush(gradient()));
 
   QPoint cursor = QWidget::mapFromGlobal(QCursor::pos());


More information about the Kst mailing list