Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libimageviewer/movieservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
#include <deque>
#include <MediaInfoDLL/MediaInfoDLL.h>
#include <QProcess>
#include <QtDebug>

Check warning on line 12 in libimageviewer/movieservice.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 12 in libimageviewer/movieservice.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

Include file: <QtDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QJsonDocument>

Check warning on line 13 in libimageviewer/movieservice.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QJsonDocument> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 13 in libimageviewer/movieservice.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

Include file: <QJsonDocument> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QTemporaryDir>

Check warning on line 14 in libimageviewer/movieservice.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QTemporaryDir> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 14 in libimageviewer/movieservice.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

Include file: <QTemporaryDir> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QRegularExpression>

Check warning on line 15 in libimageviewer/movieservice.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QRegularExpression> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 15 in libimageviewer/movieservice.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

Include file: <QRegularExpression> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include "unionimage/baseutils.h"
#include "service/ffmpegvideothumbnailer.h"

Expand Down
5 changes: 4 additions & 1 deletion libimageviewer/viewpanel/scen/imagegraphicsview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1653,8 +1653,11 @@ void LibImageGraphicsView::wheelEvent(QWheelEvent *event)

qreal factor = qPow(1.2, event->angleDelta().y() / 240.0);
qDebug() << factor;
#if QT_VERSION_MAJOR >= 6
scaleAtPoint(event->position().toPoint(), factor);

#else
scaleAtPoint(event->pos(), factor);
#endif
event->accept();
}
}
Expand Down
Loading