summaryrefslogtreecommitdiff
path: root/resourceqt-client
diff options
context:
space:
mode:
authorRobert Löfman <rlofman@x201.research.nokia.com>2010-11-18 14:50:40 +0200
committerRobert Löfman <rlofman@x201.research.nokia.com>2010-11-18 14:50:40 +0200
commit05f8fa1ebccab6eb55ccbd8a3921bc7016512749 (patch)
tree93e46f320e838869b5119237ff6fc50014c58ae2 /resourceqt-client
parent4b949a43b56a2336499c30e2bdc4c1cda8e81a68 (diff)
Added bool ResourceSet::initAndConnect() so that one can connect without acquiring.
Diffstat (limited to 'resourceqt-client')
-rw-r--r--resourceqt-client/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/resourceqt-client/client.cpp b/resourceqt-client/client.cpp
index 25ae5a1..804ac56 100644
--- a/resourceqt-client/client.cpp
+++ b/resourceqt-client/client.cpp
@@ -133,9 +133,10 @@ bool Client::initialize(const CommandLineParser &parser)
this, SLOT(doExit()))) {
return false;
}
- output << "accepting input" << endl;
- showPrompt();
+ resourceSet->initAndConnect();
+ output << "connecting...accepting input" << endl;
+ showPrompt();
return true;
}