fixed indentation.
svn path=/branches/KDE/4.3/kdebase/workspace/; revision=987425
This commit is contained in:
parent
d26e3a64c4
commit
d3bb688f86
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