Showing the changes to interface/src/Application.cpp (1 of 18 files). Show all
Unified · Split
| @@ -173,10 +173,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 172 unmodified lines | ||
| 173 | 173 | _previousScriptLocation(), |
| 174 | 174 | _runningScriptsWidget(new RunningScriptsWidget(_window)), |
| 175 | 175 | _runningScriptsWidgetWasVisible(false) |
| 176 | −{ | |
| 177 | − // init GnuTLS for DTLS with domain-servers | |
| 178 | − DTLSClientSession::globalInit(); | |
| 179 | − | |
| 176 | +{ | |
| 180 | 177 | // read the ApplicationInfo.ini file for Name/Version/Domain information |
| 181 | 178 | QSettings applicationInfo(Application::resourcesPath() + "info/ApplicationInfo.ini", QSettings::IniFormat); |
| 182 | 179 | |
| @@ -431,8 +428,6 @@ Application::~Application() { · 248 unmodified lines | ||
| 431 | 428 | delete _glWidget; |
| 432 | 429 | |
| 433 | 430 | AccountManager::getInstance().destroy(); |
| 434 | − | |
| 435 | − DTLSClientSession::globalDeinit(); | |
| 436 | 431 | } |
| 437 | 432 | |
| 438 | 433 | void Application::saveSettings() { |