[Marble-commits] KDE/kdeedu/marble/src/lib
Laurent Montel
montel at kde.org
Sun Jan 16 15:01:07 CET 2011
SVN commit 1214817 by mlaurent:
Use const'ref
M +1 -1 MapWizard.cpp
M +1 -1 MapWizard.h
--- trunk/KDE/kdeedu/marble/src/lib/MapWizard.cpp #1214816:1214817
@@ -368,7 +368,7 @@
html.close();
}
-void MapWizard::downloadLegend( const QString url )
+void MapWizard::downloadLegend( const QString& url )
{
QUrl downloadUrl( url );
QNetworkRequest request( downloadUrl );
--- trunk/KDE/kdeedu/marble/src/lib/MapWizard.h #1214816:1214817
@@ -76,7 +76,7 @@
void createLegendHtml( QString image = "./legend/legend.png" );
void createLegendFile();
void createLegend();
- void downloadLegend( const QString url );
+ void downloadLegend( const QString& url );
Q_DISABLE_COPY( MapWizard )
MapWizardPrivate * const d;
More information about the Marble-commits
mailing list