mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-13 20:58:34 -05:00
Refactor
* Minor style changes * Move function definitions * Split utility.hpp * Enable include of export-symbol-helper.hpp in tests
This commit is contained in:
committed by
WarmUpTill
parent
dcba7c535d
commit
01cf000cbe
@@ -1,8 +1,9 @@
|
||||
#include "macro-condition-obs-stats.hpp"
|
||||
#include "layout-helpers.hpp"
|
||||
#include "utility.hpp"
|
||||
#include "math-helpers.hpp"
|
||||
|
||||
#include <obs-frontend-api.h>
|
||||
#include <QListView>
|
||||
|
||||
namespace advss {
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include <layout-helpers.hpp>
|
||||
#include <log-helper.hpp>
|
||||
#include <obs-module-helper.hpp>
|
||||
#include <path-helpers.hpp>
|
||||
#include <plugin-state-helpers.hpp>
|
||||
#include <selection-helpers.hpp>
|
||||
#include <sync-helpers.hpp>
|
||||
@@ -564,7 +565,8 @@ static inline QStringList getOutputDeviceNames()
|
||||
}
|
||||
|
||||
MidiDeviceSelection::MidiDeviceSelection(QWidget *parent, MidiDeviceType t)
|
||||
: QComboBox(parent), _type(t)
|
||||
: QComboBox(parent),
|
||||
_type(t)
|
||||
{
|
||||
AddSelectionEntry(this, obs_module_text("AdvSceneSwitcher.selectItem"));
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <name-dialog.hpp>
|
||||
#include <obs-module-helper.hpp>
|
||||
#include <obs.hpp>
|
||||
#include <path-helpers.hpp>
|
||||
#include <QVBoxLayout>
|
||||
#include <ui-helpers.hpp>
|
||||
#include <utility.hpp>
|
||||
@@ -189,8 +190,9 @@ void CategoryGrabber::Search(const std::string &)
|
||||
|
||||
int startCount = _categoryMap.size();
|
||||
std::string cursor;
|
||||
httplib::Params params = {
|
||||
{"first", "100"}, {"after", cursor}, {"query", _searchString}};
|
||||
httplib::Params params = {{"first", "100"},
|
||||
{"after", cursor},
|
||||
{"query", _searchString}};
|
||||
auto response = SendGetRequest(*_token, uri, path, params);
|
||||
|
||||
while (response.status == 200 && !_stop) {
|
||||
|
||||
Reference in New Issue
Block a user