fixed indentation

svn path=/trunk/KDE/kdebase/workspace/; revision=987422
This commit is contained in:
Hugo Pereira Da Costa 2009-06-26 03:07:18 +00:00
parent 5e783b34b9
commit e48740a6fb

View file

@ -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();
}