[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/netbook/containments
From:       Marco Martin <notmart () gmail ! com>
Date:       2010-03-01 12:06:18
Message-ID: 1267445178.112523.22512.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1097442 by mart:

no negative margins, mkay?


 M  +1 -1      newspaper/newspaper.cpp  
 M  +1 -1      sal/sal.cpp  


--- trunk/KDE/kdebase/workspace/plasma/netbook/containments/newspaper/newspaper.cpp \
#1097441:1097442 @@ -575,7 +575,7 @@
             maxArea = area;
         }
     }
-    setContentsMargins(maxRect.left(), maxRect.top(), size().width() - \
maxRect.right(), size().height() - maxRect.bottom()); +    \
setContentsMargins(maxRect.left(), maxRect.top(), qMax((qreal)0.0, size().width() - \
maxRect.right()), qMax((qreal)0.0, size().height() - maxRect.bottom()));  }
 
 void Newspaper::containmentRemoved(QObject *containment)
--- trunk/KDE/kdebase/workspace/plasma/netbook/containments/sal/sal.cpp \
#1097441:1097442 @@ -196,7 +196,7 @@
             maxArea = area;
         }
     }
-    setContentsMargins(maxRect.left(), maxRect.top(), size().width() - \
maxRect.right(), size().height() - maxRect.bottom()); +    \
setContentsMargins(maxRect.left(), maxRect.top(), qMax((qreal)0.0, size().width() - \
maxRect.right()), qMax((qreal)0.0, size().height() - maxRect.bottom()));  }
 
 void SearchLaunch::toggleImmutability()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic