Commit 8dfc75bb authored by Linus Jahn's avatar Linus Jahn

Remove unnecessary debug outputs

parent 56ba39f2
......@@ -52,7 +52,6 @@ void RosterController::requestRosterFromClient(Swift::Client *client_)
Swift::GetRosterRequest::ref rosterRequest = Swift::GetRosterRequest::create(client->getIQRouter());
rosterRequest->onResponse.connect(bind(&RosterController::handleRosterReceived, this, _2));
rosterRequest->send();
std::cout << "RosterController: Sent roster request\n";
}
void RosterController::handleRosterReceived(Swift::ErrorPayload::ref error_)
......@@ -71,10 +70,6 @@ void RosterController::handleRosterReceived(Swift::ErrorPayload::ref error_)
// create a fitting iterator
std::vector<Swift::XMPPRosterItem>::iterator it;
// output the size of the vector with the roster items
std::cout << "RosterController: Received XMPP Roster with "
<< rosterItems.size() << " contacts." << std::endl;
// remove all rows / contacts (we've got new ones)
for (int i = 0; i < rosterModel->rowCount(); ++i)
......@@ -106,7 +101,5 @@ void RosterController::handleRosterReceived(Swift::ErrorPayload::ref error_)
// send signal for updating the GUI
emit rosterModelChanged();
std::cout << "RosterController: Finished updating roster contacts." << '\n';
}
}
......@@ -153,7 +153,7 @@ int main(int argc, char *argv[])
switch (parseCommandLine(parser, &commandLineErrorMessage))
{
case CommandLineError:
qDebug() << commandLineErrorMessage;
qWarning() << commandLineErrorMessage;
return 1;
case CommandLineVersionRequested:
parser.showVersion();
......@@ -162,8 +162,6 @@ int main(int argc, char *argv[])
parser.showHelp();
return 0;
case CommandLineOk:
qDebug() << QCoreApplication::translate("main",
"Successfully parsed command line input.");
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment