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:
parent
d43e284961
commit
5baab746c6
1 changed files with 0 additions and 10 deletions
10
qt/app.cc
10
qt/app.cc
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue