Big cleanup
This commit is contained in:
parent
d3080a08bb
commit
8b671090a0
55 changed files with 214 additions and 3967 deletions
|
|
@ -36,28 +36,6 @@ BackupFormatModel::BackupFormatModel(QObject *parent)
|
|||
|
||||
}
|
||||
|
||||
//QVariant BackupFormatModel::headerData(int section, Qt::Orientation orientation, int role) const
|
||||
//{
|
||||
// QVariant result;
|
||||
|
||||
// if (role == Qt::DisplayRole && orientation == Qt::Horizontal) {
|
||||
// switch (section) {
|
||||
// case Column::Short:
|
||||
// result = tr("Short");
|
||||
// break;
|
||||
// case Column::Long:
|
||||
// result = tr("Long");
|
||||
// break;
|
||||
// case Column::Description:
|
||||
// result = tr("Description");
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
|
||||
// return result;
|
||||
//}
|
||||
|
||||
|
||||
int BackupFormatModel::rowCount(const QModelIndex &) const
|
||||
{
|
||||
int size = static_cast<int>(g_BackupFormats.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue