mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 04:11:06 -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
@@ -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