diff include/gui/widgets/poster.h @ 67:442065432549

poster: make posters link to AniList
author Paper <mrpapersonic@gmail.com>
date Mon, 02 Oct 2023 07:06:44 -0400
parents 6481c5aed3e1
children d3e9310598b1
line wrap: on
line diff
--- a/include/gui/widgets/poster.h	Mon Oct 02 05:56:32 2023 -0400
+++ b/include/gui/widgets/poster.h	Mon Oct 02 07:06:44 2023 -0400
@@ -4,7 +4,7 @@
 #include <QImage>
 
 class QWidget;
-class QLabel;
+class ClickableLabel;
 
 class Poster : public QFrame {
 		Q_OBJECT
@@ -13,11 +13,11 @@
 		Poster(int id, QWidget* parent = nullptr);
 
 	protected:
-		void resizeEvent(QResizeEvent* event) override;
+		void resizeEvent(QResizeEvent*) override;
 
 	private:
 		QImage img;
-		QLabel* label;
+		ClickableLabel* label;
 };
 
 #endif // __gui__widgets__poster_h
\ No newline at end of file