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

List:       kde-commits
Subject:    koffice/krita/core
From:       Patrick Julien <freak () ideasandassociates ! com>
Date:       2003-05-22 13:58:41
[Download RAW message or body]

CVS commit by pjulien: 

Fix crash on startup.  It seems using the default parameter for templateType in
KoTemplateChooseDia::choose() causes a segfault.


  M +6 -6      kis_doc.cc   1.149


--- koffice/krita/core/kis_doc.cc  #1.148:1.149
@@ -352,5 +352,5 @@ bool KisDoc::initDoc()
                 return false;
 
-        ret = KoTemplateChooseDia::choose(KisFactory::global(), file, APP_MIMETYPE, \
"Krita", "*.kra", dlgtype); +        ret = \
KoTemplateChooseDia::choose(KisFactory::global(), file, APP_MIMETYPE, "Krita", \
"*.kra", dlgtype, "krita_template");  
         if (ret == KoTemplateChooseDia::Template) {


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

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