[Marble-commits] KDE/kdeedu/marble/src

Jens-Michael Hoffmann jensmh at gmx.de
Thu May 13 12:01:17 CEST 2010


SVN commit 1126211 by jmhoffmann:

Use assertion instead of useless debug output.

 M  +1 -2      marble_part.cpp  


--- trunk/KDE/kdeedu/marble/src/marble_part.cpp #1126210:1126211
@@ -918,8 +918,7 @@
 
     HttpDownloadManager * const downloadManager =
         m_controlView->marbleWidget()->map()->model()->downloadManager();
-    kDebug() << "got download manager:" << downloadManager;
-
+    Q_ASSERT( downloadManager );
     connect( downloadManager, SIGNAL( jobAdded() ), SLOT( downloadJobAdded() ) );
     connect( downloadManager, SIGNAL( jobRemoved() ), SLOT( downloadJobRemoved() ) );
 }


More information about the Marble-commits mailing list