]> granicus.if.org Git - transmission/commitdiff
remove another spurious console message
authorJordan Lee <jordan@transmissionbt.com>
Sat, 24 Aug 2013 20:22:38 +0000 (20:22 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sat, 24 Aug 2013 20:22:38 +0000 (20:22 +0000)
qt/make-dialog.cc

index 1432a41e7d1ad83a1ebac2069cc32183ad88953d..e63f6be7ae393d6d0b412fa6a65336fd11846097 100644 (file)
@@ -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;