--warnings: unused variable
svn path=/trunk/kdebase/kwin/; revision=406133icc-effect-5.14.5
parent
33e72465bd
commit
841b7887a1
|
@ -773,8 +773,6 @@ bool KDEDefaultClient::decorationBehaviour(DecorationBehaviour behaviour) const
|
|||
|
||||
int KDEDefaultClient::layoutMetric(LayoutMetric lm, bool respectWindowState, const KCommonDecorationButton *btn) const
|
||||
{
|
||||
bool maximized = maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows();
|
||||
|
||||
switch (lm) {
|
||||
case LM_BorderLeft:
|
||||
case LM_BorderRight:
|
||||
|
@ -1041,9 +1039,6 @@ void KDEDefaultClient::paintEvent( QPaintEvent* )
|
|||
|
||||
QRegion KDEDefaultClient::cornerShape(WindowCorner corner)
|
||||
{
|
||||
int w = widget()->width();
|
||||
int h = widget()->height();
|
||||
|
||||
switch (corner) {
|
||||
case WC_TopLeft:
|
||||
return QRect(0, 0, 1, 1);
|
||||
|
|
|
@ -382,8 +382,6 @@ bool LaptopClient::decorationBehaviour(DecorationBehaviour behaviour) const
|
|||
|
||||
int LaptopClient::layoutMetric(LayoutMetric lm, bool respectWindowState, const KCommonDecorationButton *btn) const
|
||||
{
|
||||
bool maximized = maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows();
|
||||
|
||||
switch (lm) {
|
||||
case LM_TitleEdgeLeft:
|
||||
case LM_TitleEdgeRight:
|
||||
|
@ -569,9 +567,6 @@ void LaptopClient::paintEvent( QPaintEvent* )
|
|||
|
||||
QRegion LaptopClient::cornerShape(WindowCorner corner)
|
||||
{
|
||||
int w = widget()->width();
|
||||
int h = widget()->height();
|
||||
|
||||
switch (corner) {
|
||||
case WC_TopLeft:
|
||||
return QRect(0, 0, 1, 1);
|
||||
|
|
|
@ -382,8 +382,6 @@ bool RedmondDeco::decorationBehaviour(DecorationBehaviour behaviour) const
|
|||
|
||||
int RedmondDeco::layoutMetric(LayoutMetric lm, bool respectWindowState, const KCommonDecorationButton *btn) const
|
||||
{
|
||||
bool maximized = maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows();
|
||||
|
||||
switch (lm) {
|
||||
case LM_BorderLeft:
|
||||
case LM_BorderRight:
|
||||
|
|
Loading…
Reference in New Issue