added code to handle a single connection

This commit is contained in:
fourtf
2018-07-16 17:23:41 +02:00
parent e51c5c692a
commit 3b3c5d8d75
18 changed files with 114 additions and 84 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ DebugPopup::DebugPopup()
auto *text = new QLabel(this);
auto *timer = new QTimer(this);
timer->setInterval(1000);
timer->setInterval(300);
QObject::connect(timer, &QTimer::timeout,
[text] { text->setText(DebugCount::getDebugText()); });
timer->start();
+1 -1
View File
@@ -1,6 +1,6 @@
#pragma once
#include <QWindow>
#include <QWidget>
namespace chatterino {
+2
View File
@@ -24,6 +24,8 @@ FeelPage::FeelPage()
auto layout = layoutCreator.setLayoutType<QVBoxLayout>();
// layout.append(this->createCheckBox("Use a seperate write connection.",
// getSettings()->twitchSeperateWriteConnection));
layout.append(this->createCheckBox(SCROLL_SMOOTH, getSettings()->enableSmoothScrolling));
layout.append(
this->createCheckBox(SCROLL_NEWMSG, getSettings()->enableSmoothScrollingNewMessages));