mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
libs: pass the port to KSGRD::SensorManager::engage() in KSGRD::SensorManager::resynchronize()
no idea why it was not Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
957da2bb43
commit
734c96df2b
1 changed files with 2 additions and 2 deletions
|
@ -298,14 +298,14 @@ bool SensorManager::resynchronize( const QString &hostName )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
QString shell, command;
|
QString shell, command;
|
||||||
int port;
|
int port = -1;
|
||||||
hostInfo( hostName, shell, command, port );
|
hostInfo( hostName, shell, command, port );
|
||||||
|
|
||||||
mAgents.remove( hostName );
|
mAgents.remove( hostName );
|
||||||
|
|
||||||
kDebug (1215) << "Re-synchronizing connection to " << hostName;
|
kDebug (1215) << "Re-synchronizing connection to " << hostName;
|
||||||
|
|
||||||
return engage( hostName, shell, command );
|
return engage( hostName, shell, command, port );
|
||||||
}
|
}
|
||||||
|
|
||||||
void SensorManager::notify( const QString &msg ) const
|
void SensorManager::notify( const QString &msg ) const
|
||||||
|
|
Loading…
Add table
Reference in a new issue