Mercurial > minori
diff include/core/http.h @ 413:192da585a0a8 default tip
*: fix formatting
the clang-format file was broken andjust using LLVM defaults.
now it's fixed and is more in line with what I actually prefer my
code to look like -- esp. with regards to tabulators
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 25 Jul 2026 14:54:32 -0400 |
| parents | 811697ad826a |
| children |
line wrap: on
line diff
--- a/include/core/http.h Sat Jul 25 14:33:03 2026 -0400 +++ b/include/core/http.h Sat Jul 25 14:54:32 2026 -0400 @@ -35,7 +35,7 @@ }; QByteArray Request(const std::string &url, const std::vector<std::string> &headers = {}, const std::string &data = "", - Type type = Type::Get); + Type type = Type::Get); class RequestThread final : public QThread { Q_OBJECT @@ -43,7 +43,7 @@ public: RequestThread(Type type = Type::Get, QObject *parent = nullptr); RequestThread(const std::string &url, const std::vector<std::string> &headers = {}, const std::string &data = "", - Type type = Type::Get, QObject *parent = nullptr); + Type type = Type::Get, QObject *parent = nullptr); ~RequestThread(); void SetUrl(const std::string &url);
