mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 00:44:59 -04:00
first working version of the new search engine. TODO: add search modifiers
This commit is contained in:
@ -346,8 +346,7 @@ void TableModel::setupModelData(const QString &filter, const QString &databasePa
|
||||
QSqlDatabase::removeDatabase(_databasePath);
|
||||
endResetModel();
|
||||
|
||||
if(_data.length()==0)
|
||||
emit isEmpty();
|
||||
emit searchNumResults(_data.length());
|
||||
}
|
||||
|
||||
QString TableModel::getComicPath(QModelIndex mi)
|
||||
|
@ -116,6 +116,7 @@ signals:
|
||||
void beforeReset();
|
||||
void reset();
|
||||
void isEmpty();
|
||||
void searchNumResults(int);
|
||||
};
|
||||
//! [0]
|
||||
|
||||
|
Reference in New Issue
Block a user