remove some debug output

This commit is contained in:
Rasmus Karlsson 2017-12-16 02:09:51 +01:00
parent b5bb49e8e5
commit a8afdf4565
2 changed files with 1 additions and 2 deletions

View file

@ -505,7 +505,6 @@ void EmoteManager::loadFFZEmotes()
EmoteData EmoteManager::getTwitchEmoteById(long id, const QString &emoteName) EmoteData EmoteManager::getTwitchEmoteById(long id, const QString &emoteName)
{ {
return _twitchEmoteFromCache.getOrAdd(id, [this, &emoteName, &id] { return _twitchEmoteFromCache.getOrAdd(id, [this, &emoteName, &id] {
qDebug() << "added twitch emote: " << id;
qreal scale; qreal scale;
QString url = getTwitchEmoteLink(id, scale); QString url = getTwitchEmoteLink(id, scale);
return new LazyLoadedImage(*this, this->windowManager, url, scale, emoteName, return new LazyLoadedImage(*this, this->windowManager, url, scale, emoteName,

View file

@ -802,7 +802,7 @@ void ChannelView::mouseReleaseEvent(QMouseEvent *event)
float distance = util::distanceBetweenPoints(this->lastPressPosition, event->screenPos()); float distance = util::distanceBetweenPoints(this->lastPressPosition, event->screenPos());
qDebug() << "Distance: " << distance; // qDebug() << "Distance: " << distance;
if (fabsf(distance) > 15.f) { if (fabsf(distance) > 15.f) {
// It wasn't a proper click, so we don't care about that here // It wasn't a proper click, so we don't care about that here