removed some useless debug info

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3971 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-01-20 22:22:02 +00:00
parent 2fd623bfed
commit 2f3287b898
2 changed files with 6 additions and 2 deletions

View file

@ -196,14 +196,14 @@ NetworkDialog::NetworkDialog(QWidget *parent)
void NetworkDialog::updateNewDiscoveryInfo() void NetworkDialog::updateNewDiscoveryInfo()
{ {
std::cerr << "Received new p3disc info. Updating networkview." << std::endl; //std::cerr << "Received new p3disc info. Updating networkview." << std::endl;
networkview->update(); networkview->update();
networkview->updateDisplay(); networkview->updateDisplay();
} }
void NetworkDialog::connecttreeWidgetCostumPopupMenu( QPoint point ) void NetworkDialog::connecttreeWidgetCostumPopupMenu( QPoint point )
{ {
std::cerr << "NetworkDialog::connecttreeWidgetCostumPopupMenu( QPoint point ) called" << std::endl; //std::cerr << "NetworkDialog::connecttreeWidgetCostumPopupMenu( QPoint point ) called" << std::endl;
QTreeWidgetItem *wi = getCurrentNeighbour(); QTreeWidgetItem *wi = getCurrentNeighbour();
if (!wi) if (!wi)
return; return;

View file

@ -140,14 +140,18 @@ std::string NotifyQt::askForPassword(const std::string& key_details,bool prev_is
void NotifyQt::notifyDiscInfoChanged() void NotifyQt::notifyDiscInfoChanged()
{ {
#ifdef NOTIFY_DEBUG
std::cerr << "Notifyqt:: notified that discoveryInfo changed" << std::endl ; std::cerr << "Notifyqt:: notified that discoveryInfo changed" << std::endl ;
#endif
emit discInfoChanged() ; emit discInfoChanged() ;
} }
void NotifyQt::notifyDownloadComplete(const std::string& fileHash) void NotifyQt::notifyDownloadComplete(const std::string& fileHash)
{ {
#ifdef NOTIFY_DEBUG
std::cerr << "Notifyqt::notifyDownloadComplete notified that a download is completed" << std::endl; std::cerr << "Notifyqt::notifyDownloadComplete notified that a download is completed" << std::endl;
#endif
emit downloadComplete(QString::fromStdString(fileHash)); emit downloadComplete(QString::fromStdString(fileHash));
} }