ClipProperties::ClipProperties(DocClipBase *clip, Timecode tc, double fps, QWidget * parent) :
QDialog(parent),
- m_tc(tc),
m_clip(clip),
+ m_tc(tc),
m_fps(fps),
- m_clipNeedsRefresh(false),
- m_count(0)
+ m_count(0),
+ m_clipNeedsRefresh(false)
{
setFont(KGlobalSettings::toolBarFont());
m_view.setupUi(this);
m_view.luma_file->addItem(KIcon(folder + '/' + fname), fname, folder + '/' + fname);
}
- slotEnableLuma(m_view.slide_fade->isChecked());
- slotEnableLumaFile(m_view.slide_luma->isChecked());
+ slotEnableLuma(m_view.slide_fade->checkState());
+ slotEnableLumaFile(m_view.slide_luma->checkState());
if (!lumaFile.isEmpty()) {
m_view.slide_luma->setChecked(true);
{
m_view.markers_list->clear();
QList < CommentedTime > marks = m_clip->commentedSnapMarkers();
- for (uint count = 0; count < marks.count(); ++count) {
+ for (int count = 0; count < marks.count(); ++count) {
QString time = m_tc.getTimecode(marks[count].time(), m_tc.fps());
QStringList itemtext;
itemtext << time << marks[count].comment();