mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Merge branch 'master' into apa-flashtaskbar
This commit is contained in:
commit
1937e69830
4 changed files with 10 additions and 8 deletions
|
@ -147,7 +147,7 @@ void FfzEmotes::loadEmotes()
|
||||||
void FfzEmotes::loadChannel(const QString &channelName,
|
void FfzEmotes::loadChannel(const QString &channelName,
|
||||||
std::function<void(EmoteMap &&)> callback)
|
std::function<void(EmoteMap &&)> callback)
|
||||||
{
|
{
|
||||||
log("[FFZEmotes] Reload FFZ Channel Emotes for channel %s\n", channelName);
|
log("[FFZEmotes] Reload FFZ Channel Emotes for channel {}\n", channelName);
|
||||||
|
|
||||||
NetworkRequest request("https://api.frankerfacez.com/v1/room/" +
|
NetworkRequest request("https://api.frankerfacez.com/v1/room/" +
|
||||||
channelName);
|
channelName);
|
||||||
|
|
|
@ -42,6 +42,7 @@ KeyboardSettingsPage::KeyboardSettingsPage()
|
||||||
form->addRow(new QLabel("Ctrl + F"),
|
form->addRow(new QLabel("Ctrl + F"),
|
||||||
new QLabel("Search in current channel"));
|
new QLabel("Search in current channel"));
|
||||||
form->addRow(new QLabel("Ctrl + E"), new QLabel("Open Emote menu"));
|
form->addRow(new QLabel("Ctrl + E"), new QLabel("Open Emote menu"));
|
||||||
|
form->addRow(new QLabel("Ctrl + P"), new QLabel("Open Settings menu"));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace chatterino
|
} // namespace chatterino
|
||||||
|
|
|
@ -94,6 +94,12 @@ private:
|
||||||
SplitContainer *container_;
|
SplitContainer *container_;
|
||||||
IndirectChannel channel_;
|
IndirectChannel channel_;
|
||||||
|
|
||||||
|
bool moderationMode_{};
|
||||||
|
bool isTopRightSplit_{};
|
||||||
|
|
||||||
|
bool isMouseOver_{};
|
||||||
|
bool isDragging_{};
|
||||||
|
|
||||||
QVBoxLayout *vbox_;
|
QVBoxLayout *vbox_;
|
||||||
SplitHeader *header_;
|
SplitHeader *header_;
|
||||||
ChannelView *view_;
|
ChannelView *view_;
|
||||||
|
@ -102,12 +108,6 @@ private:
|
||||||
|
|
||||||
NullablePtr<SelectChannelDialog> selectChannelDialog_;
|
NullablePtr<SelectChannelDialog> selectChannelDialog_;
|
||||||
|
|
||||||
bool moderationMode_{};
|
|
||||||
bool isTopRightSplit_{};
|
|
||||||
|
|
||||||
bool isMouseOver_{};
|
|
||||||
bool isDragging_{};
|
|
||||||
|
|
||||||
pajlada::Signals::Connection channelIDChangedConnection_;
|
pajlada::Signals::Connection channelIDChangedConnection_;
|
||||||
pajlada::Signals::Connection usermodeChangedConnection_;
|
pajlada::Signals::Connection usermodeChangedConnection_;
|
||||||
pajlada::Signals::Connection roomModeChangedConnection_;
|
pajlada::Signals::Connection roomModeChangedConnection_;
|
||||||
|
|
|
@ -230,7 +230,8 @@ std::unique_ptr<QMenu> SplitHeader::createMainMenu()
|
||||||
|
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
menu->addAction("Reload channel emotes", this, SLOT(reloadChannelEmotes()));
|
menu->addAction("Reload channel emotes", this, SLOT(reloadChannelEmotes()));
|
||||||
menu->addAction("Reload subscriber emotes", this, SLOT(reloadSubscriberEmotes()));
|
menu->addAction("Reload subscriber emotes", this,
|
||||||
|
SLOT(reloadSubscriberEmotes()));
|
||||||
menu->addAction("Reconnect", this, SLOT(reconnect()));
|
menu->addAction("Reconnect", this, SLOT(reconnect()));
|
||||||
menu->addAction("Clear messages", this->split_, &Split::clear);
|
menu->addAction("Clear messages", this->split_, &Split::clear);
|
||||||
// menu->addSeparator();
|
// menu->addSeparator();
|
||||||
|
|
Loading…
Reference in a new issue