Merge branch 'sql_update' into 'noggit-shadowlands'

fix building without mySQL enabled in cmake

See merge request prophecy-rp/noggit-red!40
This commit is contained in:
Kaev
2023-05-13 20:21:36 +00:00

View File

@@ -165,7 +165,9 @@ namespace Noggit
connect(ui->mysql_connect_test, &QPushButton::clicked, [this] connect(ui->mysql_connect_test, &QPushButton::clicked, [this]
{ {
save_changes(); save_changes();
#ifdef USE_MYSQL_UID_STORAGE
mysql::testConnection(); mysql::testConnection();
#endif
} }
); );