]> git.sesse.net Git - kdenlive/blobdiff - src/monitormanager.cpp
Cleanup last commit and some real mess in profile switching
[kdenlive] / src / monitormanager.cpp
index f38a210a0d93f45603b61e06759a5d55eb79d891..0800fe95a31a5b1a439cc9df3d032063b8a14d8d 100644 (file)
@@ -139,11 +139,6 @@ void MonitorManager::slotResetProfiles() {
     m_clipMonitor->resetProfile();
     activateMonitor("project");
     m_projectMonitor->resetProfile();
-    char *tmp;
-    tmp = (char *) qstrdup(QString(KdenliveSettings::current_profile()).toUtf8().data());
-    setenv("MLT_PROFILE", tmp, 1);
-    delete[] tmp;
-
     //m_projectMonitor->refreshMonitor(true);
 }