fixed indentation
svn path=/trunk/KDE/kdebase/workspace/; revision=987422
This commit is contained in:
parent
5e783b34b9
commit
e48740a6fb
1 changed files with 8 additions and 7 deletions
|
@ -443,18 +443,19 @@ void KDecorationPreviewBridge::grabXServer( bool )
|
|||
bool KDecorationPreviewBridge::compositingActive() const
|
||||
{
|
||||
|
||||
QDBusMessage message = QDBusMessage::createMethodCall( "org.kde.kwin", "/KWin", "org.kde.KWin", "compositingActive" );
|
||||
QDBusMessage reply = QDBusConnection::sessionBus().call( message );
|
||||
if( reply.type() != QDBusMessage::ReplyMessage )
|
||||
QDBusMessage message = QDBusMessage::createMethodCall( "org.kde.kwin", "/KWin", "org.kde.KWin", "compositingActive" );
|
||||
QDBusMessage reply = QDBusConnection::sessionBus().call( message );
|
||||
if( reply.type() != QDBusMessage::ReplyMessage )
|
||||
{
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if( reply.arguments().empty() ) {
|
||||
return false;
|
||||
if( reply.arguments().empty() )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return reply.arguments()[0].toBool();
|
||||
return reply.arguments()[0].toBool();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue