From 05f8fa1ebccab6eb55ccbd8a3921bc7016512749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6fman?= Date: Thu, 18 Nov 2010 14:50:40 +0200 Subject: Added bool ResourceSet::initAndConnect() so that one can connect without acquiring. --- resourceqt-client/client.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'resourceqt-client/client.cpp') 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; } -- cgit v1.2.3