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

Dennis Nienhüser earthwings at gentoo.org
Fri Apr 2 23:24:42 CEST 2010


SVN commit 1110372 by nienhueser:

tilecreator wants four parameters, argc must be five.

 M  +1 -1      main.cpp  
 M  +1 -1      tccore.cpp  


--- trunk/KDE/kdeedu/marble/src/tilecreator/main.cpp #1110371:1110372
@@ -17,7 +17,7 @@
 int main(int argc, char *argv[])
 {
     TCCoreApplication app( argc, argv );
-    if( argc < 4 ) {
+    if( argc < 5 ) {
     /*
             PREFIX: this is the prefix of the source directory
             INSTALLMAP: this is the map that you want to install - in the form MAPNAME/MAPNAME.jpg
--- trunk/KDE/kdeedu/marble/src/tilecreator/tccore.cpp #1110371:1110372
@@ -15,7 +15,7 @@
 TCCoreApplication::TCCoreApplication( int argc, char ** argv ) : QCoreApplication( argc, argv )
 {
     
-    if( !(argc < 4) )
+    if( !(argc < 5) )
     {
         m_tilecreator = new TileCreator( argv [1], argv[2], argv[3], argv[4] );
         connect(m_tilecreator, SIGNAL(finished()), this, SLOT(quit()));


More information about the Marble-commits mailing list