Fixing a copy&paste error. Screen edges kcm should read cube settings for cube actions, not desktop grid settings.
BUG: 201362 svn path=/trunk/KDE/kdebase/workspace/; revision=1002067
This commit is contained in:
parent
807891fcb0
commit
8564fca1bc
1 changed files with 3 additions and 3 deletions
|
@ -285,21 +285,21 @@ void KWinScreenEdgesConfig::monitorLoad()
|
||||||
KConfigGroup cubeConfig( m_config, "Effect-Cube" );
|
KConfigGroup cubeConfig( m_config, "Effect-Cube" );
|
||||||
list.clear();
|
list.clear();
|
||||||
list.append( int( ElectricNone ) );
|
list.append( int( ElectricNone ) );
|
||||||
list = gridConfig.readEntry( "BorderActivate", list );
|
list = cubeConfig.readEntry( "BorderActivate", list );
|
||||||
foreach( int i, list )
|
foreach( int i, list )
|
||||||
{
|
{
|
||||||
monitorChangeEdge( ElectricBorder( i ), int( Cube ) );
|
monitorChangeEdge( ElectricBorder( i ), int( Cube ) );
|
||||||
}
|
}
|
||||||
list.clear();
|
list.clear();
|
||||||
list.append( int( ElectricNone ) );
|
list.append( int( ElectricNone ) );
|
||||||
list = gridConfig.readEntry( "BorderActivateCylinder", list );
|
list = cubeConfig.readEntry( "BorderActivateCylinder", list );
|
||||||
foreach( int i, list )
|
foreach( int i, list )
|
||||||
{
|
{
|
||||||
monitorChangeEdge( ElectricBorder( i ), int( Cylinder ) );
|
monitorChangeEdge( ElectricBorder( i ), int( Cylinder ) );
|
||||||
}
|
}
|
||||||
list.clear();
|
list.clear();
|
||||||
list.append( int( ElectricNone ) );
|
list.append( int( ElectricNone ) );
|
||||||
list = gridConfig.readEntry( "BorderActivateSphere", list );
|
list = cubeConfig.readEntry( "BorderActivateSphere", list );
|
||||||
foreach( int i, list )
|
foreach( int i, list )
|
||||||
{
|
{
|
||||||
monitorChangeEdge( ElectricBorder( i ), int( Sphere ) );
|
monitorChangeEdge( ElectricBorder( i ), int( Sphere ) );
|
||||||
|
|
Loading…
Reference in a new issue