From 46050cd59a7af8cc7d616fab1a80db95dc8b5b35 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 25 May 2016 20:37:36 +0900 Subject: Use 'override' keyword throughout job classes; constify apiPath(), query(), data() Thanks to CLang model. --- jobs/mediathumbnailjob.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jobs/mediathumbnailjob.h') diff --git a/jobs/mediathumbnailjob.h b/jobs/mediathumbnailjob.h index 85dc8251..df7c1832 100644 --- a/jobs/mediathumbnailjob.h +++ b/jobs/mediathumbnailjob.h @@ -38,8 +38,8 @@ namespace QMatrixClient QPixmap thumbnail(); protected: - QString apiPath() override; - QUrlQuery query() override; + QString apiPath() const override; + QUrlQuery query() const override; protected slots: void gotReply() override; @@ -50,4 +50,4 @@ namespace QMatrixClient }; } -#endif // QMATRIXCLIENT_MEDIATHUMBNAILJOB_H \ No newline at end of file +#endif // QMATRIXCLIENT_MEDIATHUMBNAILJOB_H -- cgit v1.2.3