Merge pull request #57 from vedgy/misc-code-fixes

Miscellaneous code fixes
This commit is contained in:
Luis Ángel San Martín
2019-05-30 18:24:53 +02:00
committed by GitHub
4 changed files with 6 additions and 5 deletions

View File

@ -105,7 +105,7 @@ void ComicFlowWidgetSW::keyPressEvent(QKeyEvent* event)
}
void ComicFlowWidgetSW::paintEvent(QPaintEvent *event)
{
flow->paintEvent(event);
ComicFlowWidget::paintEvent(event);
}
void ComicFlowWidgetSW::mousePressEvent(QMouseEvent* event)
{

View File

@ -1798,8 +1798,6 @@ void LibraryWindow::checkEmptyFolder()
void LibraryWindow::openComic(const ComicDB &comic)
{
if(!importedCovers) {
QList<ComicDB> siblings = comicsModel->getAllComics();
//TODO generate IDS for libraries...
quint64 libraryId = libraries.getId(selectedLibrary->currentText());
bool yacreaderFound = false;