BUGFIX: Fix magnet torrent name update problem

This commit is contained in:
Christophe Dumez
2011-01-10 17:36:17 +00:00
parent 514f82a3c9
commit 1299e75934
3 changed files with 8 additions and 1 deletions

View File

@@ -294,6 +294,12 @@ int main(int argc, char *argv[]){
QStringList torrentCmdLine = app.arguments();
// Remove first argument (program name)
torrentCmdLine.removeFirst();
#ifndef QT_NO_DEBUG_OUTPUT
foreach(const QString &argument, torrentCmdLine) {
qDebug() << "Command line argument:" << argument;
}
#endif
#ifndef DISABLE_GUI
MainWindow window(0, torrentCmdLine);
if(!no_splash)