fix: remove deprecated Application::getTwitchAbstract (#5560)

This commit is contained in:
pajlada
2024-08-25 13:38:57 +02:00
committed by GitHub
parent 3e510fd9e9
commit ac88730563
21 changed files with 45 additions and 69 deletions
+3 -4
View File
@@ -305,16 +305,15 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically, Split *split)
.getOrAddSelectedPage()
->appendNewSplit(false);
split->setChannel(
app->getTwitchAbstract()->getOrAddChannel(
app->getTwitch()->getOrAddChannel(
loginName.toLower()));
});
menu->addAction(
"Open channel in a new tab", this, [loginName] {
ChannelPtr channel =
getApp()
->getTwitchAbstract()
->getOrAddChannel(loginName);
getApp()->getTwitch()->getOrAddChannel(
loginName);
auto &nb = getApp()
->getWindows()
->getMainWindow()