From: Jordan Lee Date: Sat, 24 Aug 2013 20:22:38 +0000 (+0000) Subject: remove another spurious console message X-Git-Tag: 2.83~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cc97b795f7541f897263f34d2be947e151a0b43;p=transmission remove another spurious console message --- diff --git a/qt/make-dialog.cc b/qt/make-dialog.cc index 1432a41e7..e63f6be7a 100644 --- a/qt/make-dialog.cc +++ b/qt/make-dialog.cc @@ -57,12 +57,9 @@ MakeDialog :: onNewButtonBoxClicked( QAbstractButton * button ) { switch( myNewButtonBox->standardButton( button ) ) { - case QDialogButtonBox::Open: { - const QString top = QString::fromLocal8Bit( myBuilder->top ); -std::cerr << "calling mySession.addTorrent( " << qPrintable(myTarget) << ", " << qPrintable(QFileInfo(top).dir().path()) << ')' << std::endl; - mySession.addNewlyCreatedTorrent( myTarget, QFileInfo(top).dir().path() ); + case QDialogButtonBox::Open: + mySession.addNewlyCreatedTorrent( myTarget, QFileInfo(QString::fromUtf8(myBuilder->top)).dir().path() ); break; - } case QDialogButtonBox::Abort: myBuilder->abortFlag = true; break;