mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
minor refactor
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "AbstractBean.hpp"
|
||||
|
||||
namespace NekoRay::fmt {
|
||||
namespace NekoGui_fmt {
|
||||
class V2rayStreamSettings : public JsonStore {
|
||||
public:
|
||||
QString network = "tcp";
|
||||
@@ -56,10 +56,10 @@ namespace NekoRay::fmt {
|
||||
if (bean == nullptr) return nullptr;
|
||||
auto stream_item = bean->_get("stream");
|
||||
if (stream_item != nullptr) {
|
||||
auto stream_store = (NekoRay::JsonStore *) stream_item->ptr;
|
||||
auto stream = (NekoRay::fmt::V2rayStreamSettings *) stream_store;
|
||||
auto stream_store = (JsonStore *) stream_item->ptr;
|
||||
auto stream = (NekoGui_fmt::V2rayStreamSettings *) stream_store;
|
||||
return stream;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
} // namespace NekoRay::fmt
|
||||
} // namespace NekoGui_fmt
|
||||
|
||||
Reference in New Issue
Block a user