mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Add .gitattributes rules for text and binary handling
This commit is contained in:
@ -1,17 +1,17 @@
|
||||
#include "current_comic_view_helper.h"
|
||||
|
||||
#include "comic_db.h"
|
||||
|
||||
ComicDB currentComicFromModel(ComicModel *model, bool &found) {
|
||||
auto comics = model->getAllComics();
|
||||
|
||||
foreach (auto comic, comics) {
|
||||
if (comic.info.read == false) {
|
||||
found = true;
|
||||
return comic;
|
||||
}
|
||||
}
|
||||
|
||||
found = false;
|
||||
return ComicDB();
|
||||
}
|
||||
#include "current_comic_view_helper.h"
|
||||
|
||||
#include "comic_db.h"
|
||||
|
||||
ComicDB currentComicFromModel(ComicModel *model, bool &found) {
|
||||
auto comics = model->getAllComics();
|
||||
|
||||
foreach (auto comic, comics) {
|
||||
if (comic.info.read == false) {
|
||||
found = true;
|
||||
return comic;
|
||||
}
|
||||
}
|
||||
|
||||
found = false;
|
||||
return ComicDB();
|
||||
}
|
||||
|
Reference in New Issue
Block a user