From 483e177a39ed1ae24be5c553fa389ec6ca37a0e1 Mon Sep 17 00:00:00 2001 From: rexim Date: Wed, 12 Jun 2019 01:16:56 +0700 Subject: [PATCH] (#976) Fix compilation errors Which were not visible because of incremental build or something --- src/widgets/helper/ChannelView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index 61dfbbfbd..0304ec5bb 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -16,6 +16,7 @@ #include "singletons/Settings.hpp" #include "singletons/Theme.hpp" #include "singletons/WindowManager.hpp" +#include "singletons/TooltipPreviewImage.hpp" #include "util/DistanceBetweenPoints.hpp" #include "util/IncognitoBrowser.hpp" #include "widgets/Scrollbar.hpp" @@ -23,7 +24,6 @@ #include "widgets/dialogs/UserInfoPopup.hpp" #include "widgets/helper/EffectLabel.hpp" #include "widgets/splits/Split.hpp" -#include "TooltipPreviewImage.hpp" #include #include @@ -1222,9 +1222,9 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event) auto tooltipPreviewImage = TooltipPreviewImage::getInstance(); auto emoteElement = dynamic_cast(&hoverLayoutElement->getCreator()); if (emoteElement && getSettings()->emotesTooltipPreview.getValue()) { - tooltipPreviewImage->setImage(emoteElement->getEmote()->images.getImage(3.0)); + tooltipPreviewImage.setImage(emoteElement->getEmote()->images.getImage(3.0)); } else { - tooltipPreviewImage->setImage(nullptr); + tooltipPreviewImage.setImage(nullptr); } tooltipWidget->moveTo(this, event->globalPos());