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

List:       kde-commits
Subject:    KDE/kdevelop/plugins/appwizard
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-08-04 9:19:51
Message-ID: 1186219191.184480.26390.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 696227 by apaku:

first try .zip files then .tar.bz2 for the template archive

 M  +6 -1      appwizardpart.cpp  


--- trunk/KDE/kdevelop/plugins/appwizard/appwizardpart.cpp #696226:696227
@@ -85,7 +85,12 @@
     QString templateName = templateInfo.baseName();
     kDebug(9010) << "creating project for template:" << templateName;
 
-    QString templateArchive = componentData().dirs()->findResource("apptemplates", \
templateName + ".tar.bz2"); +    QString templateArchive = \
componentData().dirs()->findResource("apptemplates", templateName + ".zip"); +    if( \
templateArchive.isEmpty() ) +    {
+        templateArchive = componentData().dirs()->findResource("apptemplates", \
templateName + ".tar.bz2"); +    }
+
     if (templateArchive.isEmpty())
         return "";
 


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

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