f.entryUpdate = QDateTime::currentDateTime();
f.myUpdate = QDateTime::currentDateTime();
- if (MyList::instance()->settings()->get("myListDefaultViewed", false))
+ if (reply->command().viewed() == MyListState::Viewed)
f.myWatched = QDateTime::currentDateTime();
- f.myState = State(MyList::instance()->settings()->get("myListDefaultState", 1));
- f.mySource = MyList::instance()->settings()->get("myListDefaultSource", QString());
- f.myStorage = MyList::instance()->settings()->get("myListDefaultStorage", QString());
- f.myOther = MyList::instance()->settings()->get("myListDefaultOther", QString());
+ f.myState = reply->command().state();
+ f.mySource = reply->command().state();
+ f.myStorage = reply->command().storage();
+ f.myOther = reply->command().other();
db->setFile(f);
}