Removed unnecessary debug output and code.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 24 Jun 2011 15:39:49 +0000 (15:39 +0000)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 24 Jun 2011 15:39:49 +0000 (15:39 +0000)
src/gui/tabcontainer.h
src/mvc/eventmodel.cpp

index 926215d..6146268 100644 (file)
@@ -38,11 +38,7 @@ public:
 
     void clearModel();
 protected:
-    virtual void loadEvents( const QDate &aDate, const int aConferenceId )
-    {
-        Q_UNUSED(aDate);
-        Q_UNUSED(aConferenceId);
-    }
+    virtual void loadEvents( const QDate &aDate, const int aConferenceId ) = 0;
 
 signals:
     void eventHasChanged(int aEventId, bool aReloadModel);
index 331d034..9302989 100644 (file)
@@ -238,7 +238,7 @@ int EventModel::loadSearchResultEvents(const QDate &aDate, int aConferenceId)
     // check for existence of the conference in the DB
     if(Conference::getAll().count())
     {
-        qDebug() << "Loading search result Data: [" << Conference::getById(aConferenceId).title() << "] " << aDate;
+        // qDebug() << "Loading search result Data: [" << Conference::getById(aConferenceId).title() << "] " << aDate;
         try{
             mEvents = Event::getSearchResultByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start");
         }