Fixed "forbids converting a string constant (-Wwrite-strings)" warning

This commit is contained in:
thunder2 2022-01-03 01:31:37 +01:00
parent 98f7b815f7
commit b350070d9d

View File

@ -107,7 +107,7 @@ public:
static const int THUMBNAIL_W = 4;
static const int THUMBNAIL_H = 6;
static constexpr char *CHAN_DEFAULT_IMAGE = ":images/thumb-default-video.png";
static constexpr const char *CHAN_DEFAULT_IMAGE = ":images/thumb-default-video.png";
virtual ~ChannelPostThumbnailView();
ChannelPostThumbnailView(QWidget *parent=NULL,uint32_t flags=FLAG_ALLOW_PAN | FLAG_SHOW_TEXT | FLAG_SCALE_FONT);