1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

(trunk) #3332 "cannot run multiple qtr instances" -- fixed

This commit is contained in:
Charles Kerr 2010-06-25 03:53:53 +00:00
parent d43e284961
commit 5baab746c6

View file

@ -403,16 +403,6 @@ main( int argc, char * argv[] )
arguments = response.arguments( );
delegated |= (arguments.size()==1) && arguments[0].toBool();
}
if( addme.empty() )
{
QDBusMessage request = QDBusMessage::createMethodCall( DBUS_SERVICE,
DBUS_OBJECT_PATH,
DBUS_INTERFACE,
"PresentWindow" );
QDBusMessage response = bus.call( request );
QList<QVariant> arguments = response.arguments( );
delegated |= (arguments.size()==1) && arguments[0].toBool();
}
if( delegated )
return 0;