Merge branch 'KDE/4.10'
This commit is contained in:
commit
8d2df5dba4
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ void InvertEffect::toggleScreenInversion()
|
||||||
|
|
||||||
void InvertEffect::toggleWindow()
|
void InvertEffect::toggleWindow()
|
||||||
{
|
{
|
||||||
|
if (!effects->activeWindow()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!m_windows.contains(effects->activeWindow()))
|
if (!m_windows.contains(effects->activeWindow()))
|
||||||
m_windows.append(effects->activeWindow());
|
m_windows.append(effects->activeWindow());
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue