X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fdocumentchecker.cpp;h=96f63c8dc79143ee7011c87c9f99212dc8f903a7;hb=054ff5c40ed015661e7cea3eaf683239e5b0839a;hp=41067fd5281eff569d353370a3a141d67dd274f3;hpb=0d59a0487e34d72a58cde6f58b7499d8f6ef404b;p=kdenlive diff --git a/src/documentchecker.cpp b/src/documentchecker.cpp index 41067fd5..96f63c8d 100644 --- a/src/documentchecker.cpp +++ b/src/documentchecker.cpp @@ -64,7 +64,7 @@ const int LUMAPLACEHOLDER = 12; enum TITLECLIPTYPE { TITLE_IMAGE_ELEMENT = 20, TITLE_FONT_ELEMENT = 21 }; -DocumentChecker::DocumentChecker(QDomNodeList infoproducers, QDomDocument doc): +DocumentChecker::DocumentChecker(const QDomNodeList &infoproducers, const QDomDocument &doc): m_info(infoproducers), m_doc(doc), m_dialog(NULL) { @@ -420,7 +420,7 @@ bool DocumentChecker::hasErrorInClips() connect(m_ui.usePlaceholders, SIGNAL(pressed()), this, SLOT(slotPlaceholders())); connect(m_ui.removeSelected, SIGNAL(pressed()), this, SLOT(slotDeleteSelected())); connect(m_ui.fixDuration, SIGNAL(pressed()), this, SLOT(slotFixDuration())); - connect(m_ui.treeWidget, SIGNAL(itemDoubleClicked(QTreeWidgetItem *, int)), this, SLOT(slotEditItem(QTreeWidgetItem *, int))); + connect(m_ui.treeWidget, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(slotEditItem(QTreeWidgetItem*,int))); connect(m_ui.treeWidget, SIGNAL(itemSelectionChanged()), this, SLOT(slotCheckButtons())); //adjustSize(); if (m_ui.treeWidget->topLevelItem(0)) m_ui.treeWidget->setCurrentItem(m_ui.treeWidget->topLevelItem(0));