aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2016-07-27 23:28:46 +0200
committerJean-Baptiste Mardelle <[email protected]>2016-07-27 23:28:46 +0200
commit8a4ebe4579f2e404b79ce167e28bb98c1eb8e718 (patch)
tree080517becafc2074e5c9949ae4d8d7a96a54dadc
parent7814f9ff8a21244315b3ff62b53c876b80d62980 (diff)
Fix compilation on some Qt versions
-rw-r--r--src/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 457c186..5f4626a 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -958,25 +958,25 @@ void MainWindow::setupActions()
m_compositeAction = new KSelectAction(KoIconUtils::themedIcon("composite-track-off"), i18n("Track compositing"), this);
m_compositeAction->setToolTip(i18n("Track compositing"));
QAction *noComposite = new QAction(KoIconUtils::themedIcon("composite-track-off"),
- i18n("None"));
+ i18n("None"), this);
noComposite->setCheckable(true);
noComposite->setData(0);
m_compositeAction->addAction(noComposite);
int compose = KdenliveDoc::compositingMode();
if (compose == 2) {
// Movit, do not show "preview" option since movit is faster
- QAction *hqComposite = new QAction(KoIconUtils::themedIcon("composite-track-on"), i18n("High Quality"));
+ QAction *hqComposite = new QAction(KoIconUtils::themedIcon("composite-track-on"), i18n("High Quality"), this);
hqComposite->setCheckable(true);
hqComposite->setData(2);
m_compositeAction->addAction(hqComposite);
m_compositeAction->setCurrentAction(hqComposite);
} else {
- QAction *previewComposite = new QAction(KoIconUtils::themedIcon("composite-track-preview"), i18n("Preview"));
+ QAction *previewComposite = new QAction(KoIconUtils::themedIcon("composite-track-preview"), i18n("Preview"), this);
previewComposite->setCheckable(true);
previewComposite->setData(1);
m_compositeAction->addAction(previewComposite);
if (compose == 1) {
- QAction *hqComposite = new QAction(KoIconUtils::themedIcon("composite-track-on"), i18n("High Quality"));
+ QAction *hqComposite = new QAction(KoIconUtils::themedIcon("composite-track-on"), i18n("High Quality"), this);
hqComposite->setData(2);
hqComposite->setCheckable(true);
m_compositeAction->addAction(hqComposite);