chore: add some channel view layout commands (#6342)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "providers/twitch/TwitchIrcServer.hpp"
|
||||
#include "singletons/Theme.hpp"
|
||||
#include "singletons/Toasts.hpp"
|
||||
#include "singletons/WindowManager.hpp"
|
||||
#include "util/PostToThread.hpp"
|
||||
|
||||
#include <QApplication>
|
||||
@@ -139,6 +140,24 @@ QString forceImageUnload(const CommandContext &ctx)
|
||||
return "";
|
||||
}
|
||||
|
||||
QString forceLayoutChannelViews(const CommandContext & /*ctx*/)
|
||||
{
|
||||
getApp()->getWindows()->forceLayoutChannelViews();
|
||||
return {};
|
||||
}
|
||||
|
||||
QString incrementImageGeneration(const CommandContext & /*ctx*/)
|
||||
{
|
||||
getApp()->getWindows()->incGeneration();
|
||||
return {};
|
||||
}
|
||||
|
||||
QString invalidateBuffers(const CommandContext & /*ctx*/)
|
||||
{
|
||||
getApp()->getWindows()->invalidateChannelViewBuffers();
|
||||
return {};
|
||||
}
|
||||
|
||||
QString debugTest(const CommandContext &ctx)
|
||||
{
|
||||
if (!ctx.channel)
|
||||
|
||||
Reference in New Issue
Block a user