mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 05:54:39 -04:00
added errors check to Comic
This commit is contained in:
@ -213,12 +213,14 @@ void Viewer::open(QString pathFile, const ComicDB & comic)
|
||||
|
||||
void Viewer::showMessageErrorOpening()
|
||||
{
|
||||
QMessageBox::critical(NULL,tr("Not found"),tr("Comic not found"));
|
||||
QMessageBox::critical(this,tr("Not found"),tr("Comic not found"));
|
||||
resetContent();
|
||||
}
|
||||
|
||||
void Viewer::showMessageErrorOpening(QString message)
|
||||
{
|
||||
QMessageBox::critical(NULL,tr("Error opening"),message);
|
||||
QMessageBox::critical(this,tr("Error opening comic"),message);
|
||||
resetContent();
|
||||
}
|
||||
|
||||
void Viewer::next()
|
||||
|
Reference in New Issue
Block a user