1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-28 17:21:06 +01:00

Remove dead code

This commit is contained in:
Jonas Kvinge 2018-11-17 03:23:22 +01:00
parent 5927483402
commit 9d09e7f6fe

View File

@ -106,24 +106,11 @@ GstEngine::GstEngine(TaskManager *task_manager)
ReloadSettings();
#ifdef Q_OS_MACOS___ // FIXME
QDir resources_dir(mac::getResourcesPath());
QString ca_cert_path = resources_dir.filePath("cacert.pem");
GError *error = nullptr;
tls_database_ = g_tls_file_database_new(ca_cert_path.toUtf8().data(), &error);
#endif
}
GstEngine::~GstEngine() {
EnsureInitialised();
current_pipeline_.reset();
#ifdef Q_OS_MACOS
g_object_unref(tls_database_);
#endif
}
bool GstEngine::Init() {