mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-19 12:22:47 +01:00
Added some comments.
This commit is contained in:
parent
b31881df77
commit
3b4a4d5ed1
@ -47,7 +47,11 @@ Category::Category(const QSqlRecord& record) : Category(nullptr) {
|
||||
|
||||
setCreationDate(TextFactory::parseDateTime(record.value(CAT_DB_DCREATED_INDEX).value<qint64>()).toLocalTime());
|
||||
|
||||
setIcon(qApp->icons()->fromByteArray(record.value(CAT_DB_ICON_INDEX).toByteArray()));
|
||||
QIcon loaded_icon = qApp->icons()->fromByteArray(record.value(CAT_DB_ICON_INDEX).toByteArray());
|
||||
|
||||
if (!loaded_icon.isNull()) {
|
||||
setIcon(loaded_icon);
|
||||
}
|
||||
}
|
||||
|
||||
Category::~Category() {}
|
||||
|
Loading…
Reference in New Issue
Block a user