diff --git a/include/Menu.h b/include/Menu.h index 542d93398a5..55cbbd05dd4 100644 --- a/include/Menu.h +++ b/include/Menu.h @@ -1,3 +1,25 @@ +/* + * Menu.h - A subclass of QMenu used to fix unexpected behavior of + * the QMenu + * + * This file is part of LMMS - https://lmms.io + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program (see COPYING); if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + * + */ #ifndef MENU_H #define MENU_H diff --git a/src/gui/widgets/Menu.cpp b/src/gui/widgets/Menu.cpp index b745f335c19..d978a6aea11 100644 --- a/src/gui/widgets/Menu.cpp +++ b/src/gui/widgets/Menu.cpp @@ -1,3 +1,26 @@ +/* + * Menu.cpp - A subclass of QMenu used to fix unexpected behavior of + * the QMenu + * + * This file is part of LMMS - https://lmms.io + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program (see COPYING); if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + * + */ + #include "Menu.h" #include