small refactor
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include "widgets/splits/Split.hpp"
|
||||
|
||||
#include "controllers/accounts/AccountController.hpp"
|
||||
#include "common/Common.hpp"
|
||||
#include "common/NetworkRequest.hpp"
|
||||
#include "controllers/accounts/AccountController.hpp"
|
||||
#include "debug/Log.hpp"
|
||||
#include "providers/twitch/EmoteValue.hpp"
|
||||
#include "providers/twitch/TwitchChannel.hpp"
|
||||
@@ -106,7 +106,7 @@ Split::Split(QWidget *parent)
|
||||
// CTRL+F: Search
|
||||
createShortcut(this, "CTRL+F", &Split::showSearch);
|
||||
|
||||
// F5: reload emotes
|
||||
// F5: reload emotes
|
||||
createShortcut(this, "F5", &Split::reloadChannelAndSubscriberEmotes);
|
||||
|
||||
// F12
|
||||
@@ -320,11 +320,6 @@ void Split::showChangeChannelPopup(const char *dialogTitle, bool empty,
|
||||
this->selectChannelDialog_ = dialog;
|
||||
}
|
||||
|
||||
void Split::layoutMessages()
|
||||
{
|
||||
this->view_->queueLayout();
|
||||
}
|
||||
|
||||
void Split::updateGifEmotes()
|
||||
{
|
||||
this->view_->queueUpdate();
|
||||
@@ -659,7 +654,6 @@ void Split::reloadChannelAndSubscriberEmotes()
|
||||
twitchChannel->refreshChannelEmotes();
|
||||
}
|
||||
|
||||
|
||||
template <typename Iter, typename RandomGenerator>
|
||||
static Iter select_randomly(Iter start, Iter end, RandomGenerator &g)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user