mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
QLabel QPixmap *pixmap() method is deprecated
const QPixmap should perform as fast as a pointer there is a replacement version for Qt5 but it requires Qt5.15, so we are using indirection witch is unsafer but it should be ok as all the action is happen in the main thread
This commit is contained in:
@ -178,7 +178,7 @@ private:
|
||||
public:
|
||||
Viewer(QWidget *parent = nullptr);
|
||||
~Viewer();
|
||||
const QPixmap *pixmap();
|
||||
const QPixmap pixmap();
|
||||
// Comic * getComic(){return comic;}
|
||||
const BookmarksDialog *getBookmarksDialog() { return bd; }
|
||||
// returns the current index starting in 1 [1,nPages]
|
||||
|
Reference in New Issue
Block a user