From: Till Theato Date: Fri, 13 Jan 2012 20:59:53 +0000 (+0100) Subject: Fix typo causing startup crash. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9e6a2484b276cda4c789ac59eec519c66bd71b02;p=kdenlive Fix typo causing startup crash. --- diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 4e1d59a2..084ec2c3 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1545,7 +1545,7 @@ void MainWindow::setupActions() collection.addAction("delete_space", removeSpace); connect(removeSpace, SIGNAL(triggered()), this, SLOT(slotRemoveSpace())); - m_tracksActionCollection = new KActionCollection(m_tracksActionCollection, KGlobal::mainComponent()); + m_tracksActionCollection = new KActionCollection(this, KGlobal::mainComponent()); m_tracksActionCollection->addAssociatedWidget(m_timelineArea); KAction *insertTrack = new KAction(KIcon(), i18n("Insert Track"), m_tracksActionCollection);