From 50a62076c3e96ac7aa16410a609c0daefb1a3522 Mon Sep 17 00:00:00 2001 From: Vincent PINON Date: Fri, 14 Feb 2014 08:43:44 +0100 Subject: [PATCH] fix invalid action warning --- src/widgets/noteswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/noteswidget.cpp b/src/widgets/noteswidget.cpp index f3e5aaac..742b64ca 100644 --- a/src/widgets/noteswidget.cpp +++ b/src/widgets/noteswidget.cpp @@ -35,7 +35,7 @@ NotesWidget::NotesWidget(QWidget * parent) : void NotesWidget::slotFillNotesMenu(QMenu *menu) { - QAction *a = new QAction(i18n("Insert current timecode"), menu); + QAction *a = new QAction(i18n("Insert current timecode"), this); connect(a, SIGNAL(triggered(bool)), this, SIGNAL(insertNotesTimecode())); menu->insertAction(menu->actions().at(0), a); } -- 2.39.2