From cb30cee7a065a074394347f112451decc4847674 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 17 Jan 2020 20:25:44 +0200 Subject: Fix various gcc and clazy compile warnings --- src/mainwindow/menubar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainwindow') diff --git a/src/mainwindow/menubar.cpp b/src/mainwindow/menubar.cpp index a8d0590..eecb61a 100644 --- a/src/mainwindow/menubar.cpp +++ b/src/mainwindow/menubar.cpp @@ -100,7 +100,7 @@ MenuBar::MenuBar(MainWindow *parent) return; // findChildren - for(QAction *a : this->findChildren()) { + for(QAction *a : findChildren()) { if(a->text().contains(text)) findMenu->addAction(a); } -- cgit v1.2.1