This commit is contained in:
2
res/doc
2
res/doc
@@ -154,7 +154,9 @@
|
|||||||
# option, only the first one takes effect.
|
# option, only the first one takes effect.
|
||||||
#
|
#
|
||||||
# <key> the option name, one of:
|
# <key> the option name, one of:
|
||||||
|
# menu_main_15505_label - sets the label used for the NickelMenu button on 4.23.15505+
|
||||||
# <val> the option value:
|
# <val> the option value:
|
||||||
|
# menu_main_15505_label - the label to use instead of "NickelMenu"
|
||||||
#
|
#
|
||||||
# For example, you might have a configuration file named "mystuff" like:
|
# For example, you might have a configuration file named "mystuff" like:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ extern "C" __attribute__((visibility("default"))) void _nm_menu_hook2(MainNavVie
|
|||||||
MainNavButton_MainNavButton(btn, parent);
|
MainNavButton_MainNavButton(btn, parent);
|
||||||
MainNavButton_setPixmap(btn, QStringLiteral(":/images/home/main_nav_more.png"));
|
MainNavButton_setPixmap(btn, QStringLiteral(":/images/home/main_nav_more.png"));
|
||||||
MainNavButton_setActivePixmap(btn, QStringLiteral(":/images/home/main_nav_more_active.png"));
|
MainNavButton_setActivePixmap(btn, QStringLiteral(":/images/home/main_nav_more_active.png"));
|
||||||
MainNavButton_setText(btn, "NickelMenu");
|
MainNavButton_setText(btn, nm_global_config_experimental("menu_main_15505_label") ?: "NickelMenu");
|
||||||
btn->setObjectName("nmButton");
|
btn->setObjectName("nmButton");
|
||||||
|
|
||||||
QPushButton *sh = new QPushButton(_this); // HACK: we use a QPushButton as an adaptor so we can connect an old-style signal with the new-style connect without needing a custom QObject
|
QPushButton *sh = new QPushButton(_this); // HACK: we use a QPushButton as an adaptor so we can connect an old-style signal with the new-style connect without needing a custom QObject
|
||||||
|
|||||||
Reference in New Issue
Block a user