mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed header actions for qt 4.7
This commit is contained in:
parent
ad87075743
commit
f227b998a3
2 changed files with 27 additions and 26 deletions
|
@ -37,32 +37,32 @@ ChatWidgetHeader::ChatWidgetHeader(ChatWidget *parent)
|
||||||
QObject::connect(&m_leftLabel, &ChatWidgetHeaderButton::clicked, this,
|
QObject::connect(&m_leftLabel, &ChatWidgetHeaderButton::clicked, this,
|
||||||
&ChatWidgetHeader::leftButtonClicked);
|
&ChatWidgetHeader::leftButtonClicked);
|
||||||
|
|
||||||
// leftMenu.addAction("Add new split", this,
|
m_leftMenu.addAction("Add new split", this,
|
||||||
// &ChatWidgetHeader::menuAddSplit,
|
SLOT(menuAddSplit()),
|
||||||
// QKeySequence(tr("Ctrl+T")));
|
QKeySequence(tr("Ctrl+T")));
|
||||||
// leftMenu.addAction("Close split", this,
|
m_leftMenu.addAction("Close split", this,
|
||||||
// &ChatWidgetHeader::menuCloseSplit,
|
SLOT(menuCloseSplit()),
|
||||||
// QKeySequence(tr("Ctrl+W")));
|
QKeySequence(tr("Ctrl+W")));
|
||||||
// leftMenu.addAction("Move split", this,
|
m_leftMenu.addAction("Move split", this,
|
||||||
// &ChatWidgetHeader::menuMoveSplit);
|
SLOT(menuMoveSplit()));
|
||||||
// leftMenu.addSeparator();
|
m_leftMenu.addSeparator();
|
||||||
// leftMenu.addAction("Change channel", this,
|
m_leftMenu.addAction("Change channel", this,
|
||||||
// &ChatWidgetHeader::menuChangeChannel,
|
SLOT(menuChangeChannel()),
|
||||||
// QKeySequence(tr("Ctrl+R")));
|
QKeySequence(tr("Ctrl+R")));
|
||||||
// leftMenu.addAction("Clear chat", this,
|
m_leftMenu.addAction("Clear chat", this,
|
||||||
// &ChatWidgetHeader::menuClearChat);
|
SLOT(menuClearChat()));
|
||||||
// leftMenu.addAction("Open channel", this,
|
m_leftMenu.addAction("Open channel", this,
|
||||||
// &ChatWidgetHeader::menuOpenChannel);
|
SLOT(menuOpenChannel()));
|
||||||
// leftMenu.addAction("Open pop-out player", this,
|
m_leftMenu.addAction("Open pop-out player", this,
|
||||||
// &ChatWidgetHeader::menuPopupPlayer);
|
SLOT(menuPopupPlayer()));
|
||||||
// leftMenu.addSeparator();
|
m_leftMenu.addSeparator();
|
||||||
// leftMenu.addAction("Reload channel emotes", this,
|
m_leftMenu.addAction("Reload channel emotes", this,
|
||||||
// &ChatWidgetHeader::menuReloadChannelEmotes);
|
SLOT(menuReloadChannelEmotes()));
|
||||||
// leftMenu.addAction("Manual reconnect", this,
|
m_leftMenu.addAction("Manual reconnect", this,
|
||||||
// &ChatWidgetHeader::menuManualReconnect);
|
SLOT(menuManualReconnect()));
|
||||||
// leftMenu.addSeparator();
|
m_leftMenu.addSeparator();
|
||||||
// leftMenu.addAction("Show changelog", this,
|
m_leftMenu.addAction("Show changelog", this,
|
||||||
// &ChatWidgetHeader::menuShowChangelog);
|
SLOT(menuShowChangelog()));
|
||||||
|
|
||||||
// middle
|
// middle
|
||||||
m_middleLabel.setAlignment(Qt::AlignCenter);
|
m_middleLabel.setAlignment(Qt::AlignCenter);
|
||||||
|
|
|
@ -52,6 +52,7 @@ private:
|
||||||
void leftButtonClicked();
|
void leftButtonClicked();
|
||||||
void rightButtonClicked();
|
void rightButtonClicked();
|
||||||
|
|
||||||
|
private slots:
|
||||||
void menuAddSplit();
|
void menuAddSplit();
|
||||||
void menuCloseSplit();
|
void menuCloseSplit();
|
||||||
void menuMoveSplit();
|
void menuMoveSplit();
|
||||||
|
|
Loading…
Reference in a new issue