mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 00:44:59 -04:00
Corregido bug relacionado con la comunicaci?n entre ComicFlowGL y la TableView
Modificados los .pro para a?adir las opciones de compilaci?n para VisualStudio A?adida la clase DBHelper para aislar el servidor web de la UI
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#include "folderinfocontroller.h"
|
||||
#include "library_window.h" //get libraries
|
||||
#include "db_helper.h" //get libraries
|
||||
|
||||
#include "folder.h"
|
||||
#include "comic_db.h"
|
||||
@ -7,7 +7,6 @@
|
||||
#include "template.h"
|
||||
#include "../static.h"
|
||||
|
||||
extern LibraryWindow * mw;
|
||||
|
||||
FolderInfoController::FolderInfoController() {}
|
||||
|
||||
@ -19,8 +18,8 @@ void FolderInfoController::service(HttpRequest& request, HttpResponse& response)
|
||||
QStringList pathElements = path.split('/');
|
||||
QString libraryName = pathElements.at(2);
|
||||
qulonglong parentId = pathElements.at(4).toULongLong();
|
||||
QList<LibraryItem *> folderContent = mw->getFolderContentFromLibrary(libraryName,parentId);
|
||||
QList<LibraryItem *> folderComics = mw->getFolderComicsFromLibrary(libraryName,parentId);
|
||||
QList<LibraryItem *> folderContent = DBHelper::getFolderContentFromLibrary(libraryName,parentId);
|
||||
QList<LibraryItem *> folderComics = DBHelper::getFolderComicsFromLibrary(libraryName,parentId);
|
||||
|
||||
Folder * currentFolder;
|
||||
for(QList<LibraryItem *>::const_iterator itr = folderContent.constBegin();itr!=folderContent.constEnd();itr++)
|
||||
|
Reference in New Issue
Block a user