]> git.sesse.net Git - kdenlive/blobdiff - src/projectsettings.cpp
[PATCH 2/2] Ensure that all member variables have an m_ prefix
[kdenlive] / src / projectsettings.cpp
index 3a27d23274e59be4a74bf92599c0dffdaf81a9fe..c27f5398f4cde32adf96f4f9274d3fb762e09a91 100644 (file)
@@ -48,7 +48,7 @@ ProjectSettings::ProjectSettings(int videotracks, int audiotracks, const QString
         }
     }
 
-    buttonOk = m_view.buttonBox->button(QDialogButtonBox::Ok);
+    m_buttonOk = m_view.buttonBox->button(QDialogButtonBox::Ok);
     //buttonOk->setEnabled(false);
     m_view.audio_thumbs->setChecked(KdenliveSettings::audiothumbnails());
     m_view.video_thumbs->setChecked(KdenliveSettings::videothumbnails());
@@ -78,8 +78,8 @@ void ProjectSettings::slotUpdateDisplay()
 
 void ProjectSettings::slotUpdateButton(const QString &path)
 {
-    if (path.isEmpty()) buttonOk->setEnabled(false);
-    else buttonOk->setEnabled(true);
+    if (path.isEmpty()) m_buttonOk->setEnabled(false);
+    else m_buttonOk->setEnabled(true);
 }
 
 QString ProjectSettings::selectedProfile() const