From dd24b914045d1b38d8ae5347158aa2266166703b Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Wed, 13 Feb 2008 00:23:21 +0000 Subject: [PATCH] Performlist is back and working! --- src/core/networkconnection.cpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/core/networkconnection.cpp b/src/core/networkconnection.cpp index 4cd776a7..a8b8e157 100644 --- a/src/core/networkconnection.cpp +++ b/src/core/networkconnection.cpp @@ -174,16 +174,9 @@ void NetworkConnection::networkInitialized() { } void NetworkConnection::sendPerform() { - // TODO: reimplement perform List! - //// send performlist - //QStringList performList = networkSettings["Perform"].toString().split( "\n" ); - //int count = performList.count(); - //for(int a = 0; a < count; a++) { - // if(!performList[a].isEmpty() ) { - // userInput(network, "", performList[a]); - // } - //} - + foreach(QString line, network()->perform()) { + if(!line.isEmpty()) userInput(Core::bufferInfo(coreSession()->user(), network()->networkId(), BufferInfo::StatusBuffer), line); + } } QVariant NetworkConnection::state() const { -- 2.20.1