mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix all compilation issues after enabling QT_DISABLE_DEPRECATED_UP_TO
This commit is contained in:
@ -407,7 +407,7 @@ void StarEditor::leaveEvent(QEvent *event)
|
||||
void StarEditor::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
if (event->button() == Qt::LeftButton) {
|
||||
int star = starAtPosition(event->x());
|
||||
int star = starAtPosition(event->position().x());
|
||||
|
||||
if (star != myStarRating.starCount() && star != -1) {
|
||||
myStarRating.setStarCount(star);
|
||||
|
||||
Reference in New Issue
Block a user