Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arm64v8a committed Jan 3, 2023
1 parent 4e129a9 commit 492552c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion db/Database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ namespace NekoRay {

QString ProxyEntity::DisplayLatency() const {
if (latency < 0) {
return UNICODE_LRO + QObject::tr("Unavailable");
return QObject::tr("Unavailable");
} else if (latency > 0) {
return UNICODE_LRO + QString("%1 ms").arg(latency);
} else {
Expand Down
1 change: 1 addition & 0 deletions fmt/Bean2Link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ namespace NekoRay::fmt {
url.setPort(serverPort);
if (!name.isEmpty()) url.setFragment(name);
if (!stream->sni.isEmpty()) query.addQueryItem("sni", stream->sni);
if (stream->allow_insecure) query.addQueryItem("allowInsecure", "1");
query.addQueryItem("security", stream->security);
query.addQueryItem("type", stream->network);

Expand Down

0 comments on commit 492552c

Please # to comment.