mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:29:47 +02:00
add GnuTLS init to Application
This commit is contained in:
parent
e2224e0f0c
commit
85933545cd
1 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,9 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
||||||
_resetRecentMaxPacketsSoon(true),
|
_resetRecentMaxPacketsSoon(true),
|
||||||
_logger(new FileLogger(this))
|
_logger(new FileLogger(this))
|
||||||
{
|
{
|
||||||
|
// init GnuTLS for DTLS with domain-servers
|
||||||
|
gnutls_global_init();
|
||||||
|
|
||||||
// read the ApplicationInfo.ini file for Name/Version/Domain information
|
// read the ApplicationInfo.ini file for Name/Version/Domain information
|
||||||
QSettings applicationInfo(Application::resourcesPath() + "info/ApplicationInfo.ini", QSettings::IniFormat);
|
QSettings applicationInfo(Application::resourcesPath() + "info/ApplicationInfo.ini", QSettings::IniFormat);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue