X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fcurrentalertstablemodel.cpp;h=62e83274c677e1fb10590aab4a252d9113898c6e;hb=a06334fdc173e26d116b5625aa50b1236d119dfe;hp=763163078cdaf17aea230f58ef946d8811b2c70f;hpb=683d958489cb5181a1a8c5a348191aaeed03981b;p=kitchenalert diff --git a/src/currentalertstablemodel.cpp b/src/currentalertstablemodel.cpp index 7631630..62e8327 100644 --- a/src/currentalertstablemodel.cpp +++ b/src/currentalertstablemodel.cpp @@ -1,7 +1,7 @@ /************************************************************************** KitchenAlert - Copyright (C) 2010 Heli Hyvättinen + Copyright (C) 2010-2011 Heli Hyvättinen This file is part of KitchenAlert. @@ -295,7 +295,7 @@ void CurrentAlertsTableModel::setUpdateViewOnChanges(bool update) if (update == true) { refreshTimeAndStatusColumns(); //Refresh to catch up with past changes - qDebug() << "Just refreshed time and status colums after returning to the app"; +// qDebug() << "Just refreshed time and status colums after returning to the app"; } } @@ -325,3 +325,8 @@ void CurrentAlertsTableModel::removeTimer(QModelIndex index) } +bool CurrentAlertsTableModel::saveTimer(QModelIndex index, QString filename) +{ + return currentTimers_.at(index.row())->save(filename); +} +