mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fixed switch channel popup
This commit is contained in:
parent
91e3976a09
commit
670d25342d
|
@ -58,8 +58,8 @@ ChatWidgetHeader::ChatWidgetHeader(ChatWidget *parent)
|
|||
|
||||
// middle
|
||||
m_middleLabel.setAlignment(Qt::AlignCenter);
|
||||
QObject::connect(&m_middleLabel, &m_middleLabel.mouseDoubleClickEvent, this,
|
||||
&mouseDoubleClickEvent);
|
||||
QObject::connect(&m_middleLabel, SIGNAL(mouseDoubleClickEvent(QMouseEvent)), this,
|
||||
SLOT(mouseDoubleClickEvent));
|
||||
|
||||
// right
|
||||
m_rightLabel.setMinimumWidth(height());
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "resources.h"
|
||||
|
||||
QString Emotes::m_twitchEmoteTemplate(
|
||||
"http://static-cdn.jtvnw.net/emoticons/v1/{id}/{scale}.0");
|
||||
"https://static-cdn.jtvnw.net/emoticons/v1/{id}/{scale}.0");
|
||||
|
||||
ConcurrentMap<QString, TwitchEmoteValue *> Emotes::m_twitchEmotes;
|
||||
ConcurrentMap<QString, LazyLoadedImage *> Emotes::m_bttvEmotes;
|
||||
|
|
|
@ -176,7 +176,7 @@ IrcManager::partChannel(const QString &channel)
|
|||
void
|
||||
IrcManager::messageReceived(IrcMessage *message)
|
||||
{
|
||||
qInfo(message->command().toStdString().c_str());
|
||||
// qInfo(message->command().toStdString().c_str());
|
||||
|
||||
// if (message->command() == "")
|
||||
}
|
||||
|
|
|
@ -15,9 +15,9 @@ TextInputDialog::TextInputDialog(QWidget *parent)
|
|||
m_buttonBox.addWidget(&m_okButton);
|
||||
m_buttonBox.addWidget(&m_cancelButton);
|
||||
|
||||
QObject::connect(&m_okButton, &m_okButton.clicked, this, &okButtonClicked);
|
||||
QObject::connect(&m_cancelButton, &m_cancelButton.clicked, this,
|
||||
&cancelButtonClicked);
|
||||
QObject::connect(&m_okButton, SIGNAL(clicked()), this, SLOT(okButtonClicked()));
|
||||
QObject::connect(&m_cancelButton, SIGNAL(clicked()), this,
|
||||
SLOT(cancelButtonClicked()));
|
||||
|
||||
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
|
||||
|
@ -29,10 +29,12 @@ void
|
|||
TextInputDialog::okButtonClicked()
|
||||
{
|
||||
accept();
|
||||
close();
|
||||
}
|
||||
|
||||
void
|
||||
TextInputDialog::cancelButtonClicked()
|
||||
{
|
||||
reject();
|
||||
close();
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@ private:
|
|||
QPushButton m_okButton;
|
||||
QPushButton m_cancelButton;
|
||||
|
||||
private slots:
|
||||
void okButtonClicked();
|
||||
void cancelButtonClicked();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue