Added clip creation support 🎬 (#2271)
You can create clips with `/clip` command, `Alt+X` keybind or `Create a clip` option in split header's context menu. This requires a new authentication scope so re-authentication will be required to use it. Co-authored-by: Leon Richardt <leon.richardt@gmail.com> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -121,6 +121,19 @@ Split::Split(QWidget *parent)
|
||||
// CTRL+F5: reconnect
|
||||
createShortcut(this, "CTRL+F5", &Split::reconnect);
|
||||
|
||||
// Alt+X: create clip LUL
|
||||
createShortcut(this, "Alt+X", [this] {
|
||||
if (!this->getChannel()->isTwitchChannel())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
auto *twitchChannel =
|
||||
dynamic_cast<TwitchChannel *>(this->getChannel().get());
|
||||
|
||||
twitchChannel->createClip();
|
||||
});
|
||||
|
||||
// F10
|
||||
createShortcut(this, "F10", [] {
|
||||
auto *popup = new DebugPopup;
|
||||
|
||||
Reference in New Issue
Block a user