Commit 79e02b61 authored by Karel Slaný's avatar Karel Slaný

Using default flags() behaviour.

parent c3ae8edf
......@@ -624,8 +624,7 @@ QVariant AccountListModel::data(const QModelIndex &index, int role) const
Qt::ItemFlags AccountListModel::flags(const QModelIndex &index) const
{
Q_UNUSED(index);
return 0;
return QAbstractListModel::flags(index);
}
void AccountListModel::loadAccountsFromSettings(const QSettings &settings)
......
......@@ -206,8 +206,7 @@ void DataboxListModel::addEntry(const DataboxModelEntry &data)
Qt::ItemFlags DataboxListModel::flags(const QModelIndex &index) const
{
Q_UNUSED(index);
return 0;
return QAbstractListModel::flags(index);
}
void DataboxListModel::clearAll(void)
......
......@@ -161,8 +161,7 @@ QVariant FileListModel::data(const QModelIndex &index, int role) const
Qt::ItemFlags FileListModel::flags(const QModelIndex &index) const
{
Q_UNUSED(index);
return 0;
return QAbstractListModel::flags(index);
}
void FileListModel::setQuery(QSqlQuery &query)
......
......@@ -245,8 +245,7 @@ QVariant MessageListModel::data(const QModelIndex &index, int role) const
Qt::ItemFlags MessageListModel::flags(const QModelIndex &index) const
{
Q_UNUSED(index);
return 0;
return QAbstractListModel::flags(index);
}
void MessageListModel::deleteMessage(qint64 dmId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment