fixed indentation.

svn path=/branches/KDE/4.3/kdebase/workspace/; revision=987425
This commit is contained in:
Hugo Pereira Da Costa 2009-06-26 03:24:08 +00:00
parent d26e3a64c4
commit d3bb688f86

View file

@ -443,18 +443,19 @@ void KDecorationPreviewBridge::grabXServer( bool )
bool KDecorationPreviewBridge::compositingActive() const bool KDecorationPreviewBridge::compositingActive() const
{ {
QDBusMessage message = QDBusMessage::createMethodCall( "org.kde.kwin", "/KWin", "org.kde.KWin", "compositingActive" ); QDBusMessage message = QDBusMessage::createMethodCall( "org.kde.kwin", "/KWin", "org.kde.KWin", "compositingActive" );
QDBusMessage reply = QDBusConnection::sessionBus().call( message ); QDBusMessage reply = QDBusConnection::sessionBus().call( message );
if( reply.type() != QDBusMessage::ReplyMessage ) if( reply.type() != QDBusMessage::ReplyMessage )
{ {
return false; return false;
} }
if( reply.arguments().empty() ) { if( reply.arguments().empty() )
return false; {
return false;
} }
return reply.arguments()[0].toBool(); return reply.arguments()[0].toBool();
} }