fix wrong access definition q_settings
* fix error: request for member 'empty' cos is not string
This commit is contained in:
parent
c047d31989
commit
3820aa20eb
@ -3304,7 +3304,7 @@ std::string Server::getStatusString()
|
|||||||
|
|
||||||
os << "# Server: ";
|
os << "# Server: ";
|
||||||
// Version
|
// Version
|
||||||
if (!g_settings->getBool("announce_mt_id").empty())
|
if (!g_settings->getBool("announce_mt_id"))
|
||||||
os << "version=" << "0.4.16";
|
os << "version=" << "0.4.16";
|
||||||
else
|
else
|
||||||
os << "version=" << g_version_string;
|
os << "version=" << g_version_string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user