diff include/gui/widgets/poster.h @ 273:f31305b9f60a

*: various code safety changes this also makes the code build on Qt 5.7. I can't test it though because I don't have it working... FAIL!
author Paper <paper@paper.us.eu.org>
date Thu, 18 Apr 2024 16:53:17 -0400
parents 3ec7804abf17
children 9a88e1725fd2
line wrap: on
line diff
--- a/include/gui/widgets/poster.h	Thu Apr 18 16:51:35 2024 -0400
+++ b/include/gui/widgets/poster.h	Thu Apr 18 16:53:17 2024 -0400
@@ -3,8 +3,9 @@
 #include <QFrame>
 #include <QImage>
 
+#include "gui/widgets/clickable_label.h"
+
 class QWidget;
-class ClickableLabel;
 namespace Anime {
 class Anime;
 }
@@ -24,10 +25,10 @@
 	void RenderToLabel();
 
 private:
-	QImage img;
-	QString service_url;
-	ClickableLabel* label;
-	bool clickable = true;
+	QImage img_;
+	QString service_url_;
+	ClickableLabel label_;
+	bool clickable_ = true;
 };
 
-#endif // MINORI_GUI_WIDGETS_POSTER_H_
\ No newline at end of file
+#endif // MINORI_GUI_WIDGETS_POSTER_H_