Commit Graph

9 Commits

Author SHA1 Message Date
Luis Ángel San Martín
3ae3628c1f Replace drop shadow on the Flow Info view too 2024-12-29 19:09:59 +01:00
Luis Ángel San Martín
94ddc54888 Remove usage of Qt.platform.os 2023-05-24 21:01:02 +02:00
Luis Ángel San Martín
26b4a85928 Rename id 2022-01-19 18:27:22 +01:00
Luis Ángel San Martín
1a25fd0740 Update listeners definitions 2022-01-19 18:20:05 +01:00
Luis Ángel San Martín
71b17fe258 Trivial migrations to QtQuick 2.15 2021-10-19 00:00:09 +02:00
Igor Kushnir
f88af80379 Library: fix InfoComicsView crashes
InfoComicsView constructor is the only function that connects to
FlowView's currentCoverChanged signal. Neither of the slots connected to
this signal handles the argument value index==-1. So when FlowView emits
this signal with index==-1, YACReaderLibrary crashes. Returning early
from either ComicsView::updateInfoForIndex() or
InfoComicsView::setCurrentIndex() when index==-1 is not sufficient - the
crash happens in the other slot then. Let us skip emitting the signal in
FlowView if index==-1 rather than return early from both slots.

Steps to reproduce 1:
1. Launch YACReaderLibrary version that matches the version of the
default library database. Alternatively, select a compatible library
after starting the application.
2. If InfoComicsView is not active, switch to it.
3. (optional) Switch to another comics view out of InfoComicsView.
4. Quit YACReaderLibrary. The application crashes during exit - after
the "YACReaderLibrary closed with exit code : 0" message is printed.

Steps to reproduce 2:
1. Launch a YACReaderLibrary version newer than the version of the
default library database.
2. Click the "No" button in the "Update needed" dialog that pops up.
3. Change between comics views until InfoComicsView becomes active. If
this view was active at the beginning, switch through all the views to
get back to it. At this point YACReaderLibrary crashes.
2021-02-01 11:27:18 +02:00
Jeremy Douglass
6f2a4bf243 Add Up Down navigation to FlowView
Adds vertical navigation (up down) to FlowView. This corresponds visually to the File Name list display -- especially when the flow pane is hidden, pressing up-down is the intuitive way to navigate up-down in the list.
2019-05-30 18:15:33 +02:00
Felix Kauselmann
d3b8f4d5b8 Normalize line endings for .qml files 2018-08-05 13:14:30 +02:00
apollo2k4
f2a356fc70 Update russian translation. Need to subtract and to bring the terminology to a common denominator 2018-01-08 16:32:56 +00:00