mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Cleanup
This commit is contained in:
parent
badce063eb
commit
9551519cb9
|
|
@ -4,7 +4,7 @@ AdvSceneSwitcher.windowTitle="Advanced Scene Switcher"
|
|||
# General Tab
|
||||
AdvSceneSwitcher.generalTab.title="General"
|
||||
AdvSceneSwitcher.generalTab.status="Status"
|
||||
AdvSceneSwitcher.generalTab.status.hotkeytips="Hotkeys can be defined in the OBS settings"
|
||||
AdvSceneSwitcher.generalTab.status.hotkeytips="Start/stop hotkeys can be defined in the OBS settings"
|
||||
AdvSceneSwitcher.generalTab.status.currentStatus="Advanced Scene Switcher is:"
|
||||
AdvSceneSwitcher.generalTab.status.onStartup="On startup of OBS:"
|
||||
AdvSceneSwitcher.generalTab.status.onStartup.asLastRun="Start the scene switcher if it was running"
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ setupToolBar(const std::initializer_list<std::initializer_list<QWidget *>>
|
|||
MacroEdit::MacroEdit(QWidget *parent, QStringList helpMsg)
|
||||
: ui(new Ui_MacroEdit)
|
||||
{
|
||||
setParent(parent);
|
||||
|
||||
if (helpMsg.size() != 3) {
|
||||
helpMsg << "AdvSceneSwitcher.macroTab.editConditionHelp"
|
||||
<< "AdvSceneSwitcher.macroTab.editActionHelp"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#include "plugin-state-helpers.hpp"
|
||||
#include "advanced-scene-switcher.hpp"
|
||||
#include "macro-settings.hpp"
|
||||
#include "switcher-data.hpp"
|
||||
|
||||
namespace advss {
|
||||
|
|
|
|||
|
|
@ -111,6 +111,10 @@ std::vector<ThreadPrio> GetThreadPrioMapping()
|
|||
|
||||
bool SwitcherData::PrioFuncsValid()
|
||||
{
|
||||
if (functionNamesByPriority.empty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
auto fNBPCopy = functionNamesByPriority;
|
||||
|
||||
std::sort(fNBPCopy.begin(), fNBPCopy.end());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user