mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
New XML files for the sample. Fixed some errors found during testing.
* applyIf no longer returns number of changed elements * cmd line arguments, wrong assignment in main.cpp
This commit is contained in:
@@ -49,8 +49,8 @@ int main(int argc, char *argv[])
|
||||
useSessionBusForServer = false;
|
||||
if (cmdlineArgs.length() > 2)
|
||||
{
|
||||
ip = cmdlineArgs.at(1);
|
||||
port = cmdlineArgs.at(2);
|
||||
ip = cmdlineArgs.at(cmdlineArgs.length() - 2);
|
||||
port = cmdlineArgs.at(cmdlineArgs.length() - 1);
|
||||
}
|
||||
}
|
||||
QString addressTcp = QString("tcp:host=%1,port=%2").arg(ip).arg(port);
|
||||
|
||||
Reference in New Issue
Block a user