X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprojectsettings.cpp;h=c27f5398f4cde32adf96f4f9274d3fb762e09a91;hb=31e84d6bd7f7b1ac64d942a9171d98ad8d0f7d62;hp=1240ddcdc6928862c691d8c7c94051f6d14e8998;hpb=5ee798aed90c5a3a50024e6b5bd26753e03ec7cc;p=kdenlive diff --git a/src/projectsettings.cpp b/src/projectsettings.cpp index 1240ddcd..c27f5398 100644 --- a/src/projectsettings.cpp +++ b/src/projectsettings.cpp @@ -27,8 +27,7 @@ #include ProjectSettings::ProjectSettings(int videotracks, int audiotracks, const QString projectPath, bool readOnlyTracks, QWidget * parent) : - QDialog(parent), - m_isCustomProfile(false) + QDialog(parent) { m_view.setupUi(this); @@ -49,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()); @@ -79,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