corregido bug al intentar abrir un c?mic en un path no existente

- ahora se muestra un error al usuario.
        - y se restaura el estado inicial.
This commit is contained in:
Luis Ángel San Martín
2012-07-29 17:03:58 +02:00
parent 7df6e4d7f7
commit 86914fd634
5 changed files with 40 additions and 17 deletions

View File

@ -33,7 +33,7 @@
Comic(const QString pathFile);
void setup();
//Load pages from file
void load(const QString & path);
bool load(const QString & path);
void loadFromFile(const QString & pathFile);
void loadFromDir(const QString & pathDir);
int nextPage();