mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
remove some debug output
This commit is contained in:
parent
b5bb49e8e5
commit
a8afdf4565
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue