aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/uihelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/uihelper.h')
-rw-r--r--src/qmmpui/uihelper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h
index 2367b62f4..1b1f76f69 100644
--- a/src/qmmpui/uihelper.h
+++ b/src/qmmpui/uihelper.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2019 by Ilya Kotov *
+ * Copyright (C) 2008-2020 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -86,6 +86,7 @@ public:
* Creates menu with type \b type
* @param type Menu type.
* @param title Menu title.
+ * @param autoHide Hide empty menu.
* @param parent Parent widget
*/
QMenu *createMenu(MenuType type, const QString &title = QString(), bool autoHide = true, QWidget *parent = nullptr);
@@ -93,6 +94,7 @@ public:
* Registers existing menu for access from general plugins.
* @param type Menu type.
* @param menu Menu pointer.
+ * @param autoHide Hide empty menu.
* @param before An action, after which the rest are added.
*/
void registerMenu(MenuType type, QMenu *menu, bool autoHide = false, QAction *before = nullptr);