added new view for empty folders in YACReaderLibrary that shows a list with all the subfolders

TODO ?use a special case for the root folder?
This commit is contained in:
Luis Ángel San Martín
2014-07-09 17:38:12 +02:00
parent 9f53ae6efc
commit 1b2f33d0c6
14 changed files with 322 additions and 122 deletions

View File

@ -304,7 +304,9 @@ void TableModel::setupModelData(unsigned long long int folderId,const QString &
db.close();
QSqlDatabase::removeDatabase(_databasePath);
endResetModel();
//f.close();
if(_data.length()==0)
emit isEmpty();
}
QString TableModel::getComicPath(QModelIndex mi)