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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/korganizer
From:       Allen Winter <winter () kde ! org>
Date:       2008-01-07 20:39:46
Message-ID: 1199738386.582961.12563.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 758409 by winterz:

fix crash reported by dirk.
CCMAIL: mueller@kde.org


 M  +1 -2      journalentry.cpp  
 M  +1 -2      koeventpopupmenu.cpp  
 M  +1 -2      kotodoview.cpp  


--- branches/KDE/3.5/kdepim/korganizer/journalentry.cpp #758408:758409
@@ -280,9 +280,8 @@
 #ifndef KORG_NOPRINTER
   writeJournal();
   if ( mJournal ) {
-    Calendar *cal;
     KOCoreHelper helper;
-    CalPrinter printer( this, cal, &helper );
+    CalPrinter printer( this, 0, &helper );
     connect( this, SIGNAL(configChanged()), &printer, SLOT(updateConfig()) );
 
     Incidence::List selectedIncidences;
--- branches/KDE/3.5/kdepim/korganizer/koeventpopupmenu.cpp #758408:758409
@@ -124,9 +124,8 @@
 void KOEventPopupMenu::print()
 {
 #ifndef KORG_NOPRINTER
-  Calendar *cal;
   KOCoreHelper helper;
-  CalPrinter printer( this, cal, &helper );
+  CalPrinter printer( this, 0, &helper );
   connect( this, SIGNAL(configChanged()), &printer, SLOT(updateConfig()) );
 
   Incidence::List selectedIncidences;
--- branches/KDE/3.5/kdepim/korganizer/kotodoview.cpp #758408:758409
@@ -853,9 +853,8 @@
 void KOTodoView::printTodo()
 {
 #ifndef KORG_NOPRINTER
-  Calendar *cal;
   KOCoreHelper helper;
-  CalPrinter printer( this, cal, &helper );
+  CalPrinter printer( this, BaseView::calendar(), &helper );
   connect( this, SIGNAL(configChanged()), &printer, SLOT(updateConfig()) );
 
   Incidence::List selectedIncidences;
[prev in list] [next in list] [prev in thread] [next in thread] 

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