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

List:       kde-commits
Subject:    branches/KDE/3.4/kdepim/konsolekalendar
From:       Allen Winter <winterz () verizon ! net>
Date:       2005-07-07 2:47:20
Message-ID: 1120704440.272517.6996.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 432349 by winterz:

Restore the import functionality.  Why was it removed in the first place??


 M  +3 -5      konsolekalendaradd.cpp  


--- branches/KDE/3.4/kdepim/konsolekalendar/konsolekalendaradd.cpp #432348:432349
@@ -3,7 +3,7 @@
  *                                                                             *
  * KonsoleKalendar is a command line interface to KDE calendars                *
  * Copyright (C) 2002-2004  Tuukka Pasanen <illuusio@mailcity.com>             *
- * Copyright (C) 2003-2004  Allen Winter <winter@kde.org>                      *
+ * Copyright (C) 2003-2005  Allen Winter <winter@kde.org>                      *
  *                                                                             *
  * This program is free software; you can redistribute it and/or modify        *
  * it under the terms of the GNU General Public License as published by        *
@@ -109,9 +109,7 @@
 bool KonsoleKalendarAdd::addImportedCalendar()
 {
 
-  // TODO: reimplement this please..
-
-  /*if ( ! m_variables->getCalendar()->load( m_variables->getImportFile() ) ) {
+  if ( ! m_variables->getCalendar()->load( m_variables->getImportFile() ) ) {
     kdDebug()
       << "konsolekalendaradd.cpp::importCalendar() | "
       << "Can't import file: "
@@ -130,7 +128,7 @@
     m_variables->getCalendar()->save( m_variables->getCalendarFile() );
   } else {
     m_variables->getCalendar()->save();
-  }*/
+  }
 
   return true;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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