[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/plugins/render
From:       Jens-Michael Hoffmann <jensmh () gmx ! de>
Date:       2010-01-26 10:57:22
Message-ID: 1264503442.835393.13456.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1080490 by jmhoffmann:

Declare constructors which take one argument explicit, pointed out by krazy.


 M  +1 -2      photo/PhotoPluginModel.h  
 M  +1 -2      wikipedia/WikipediaModel.h  


--- trunk/KDE/kdeedu/marble/src/plugins/render/photo/PhotoPluginModel.h #1080489:1080490
@@ -25,8 +25,7 @@
     Q_OBJECT
     
  public:
-    PhotoPluginModel( PluginManager *pluginManager,
-                      QObject *parent = 0 );
+    explicit PhotoPluginModel( PluginManager *pluginManager, QObject *parent = 0 );
     
     static QUrl generateUrl( const QString& service,
                              const QString& method,
--- trunk/KDE/kdeedu/marble/src/plugins/render/wikipedia/WikipediaModel.h #1080489:1080490
@@ -28,8 +28,7 @@
     Q_OBJECT
     
  public:
-    WikipediaModel( PluginManager *pluginManager,
-                    QObject *parent = 0 );
+    explicit WikipediaModel( PluginManager *pluginManager, QObject *parent = 0 );
     ~WikipediaModel();
 
     void setShowThumbnail( bool show );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic