Fixed some comments
Partially cherry-picked from 3a997ce6f4299a465eee1299a58e581304cb9a07.
This commit is contained in:
2
res/doc
2
res/doc
@@ -70,7 +70,7 @@
|
|||||||
#
|
#
|
||||||
# You will need to reboot to see any changes.
|
# You will need to reboot to see any changes.
|
||||||
#
|
#
|
||||||
# If there is a error in the configuration, an item which displays it will be
|
# If there is an error in the configuration, an item which displays it will be
|
||||||
# added to the main menu. If an internal error occurs, it is written to syslog,
|
# added to the main menu. If an internal error occurs, it is written to syslog,
|
||||||
# which can be viewed over telnet or SSH (the username is root) with the command
|
# which can be viewed over telnet or SSH (the username is root) with the command
|
||||||
# logread.
|
# logread.
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ NM_ACTION_(nickel_setting) {
|
|||||||
// vtable pointer at the beginning needs to be replaced with the target
|
// vtable pointer at the beginning needs to be replaced with the target
|
||||||
// vtable address plus 8 (for the header) (and if we don't do this, the
|
// vtable address plus 8 (for the header) (and if we don't do this, the
|
||||||
// virtual functions such as sectionName won't get resolved properly) (it
|
// virtual functions such as sectionName won't get resolved properly) (it
|
||||||
// it also needs to be restored after each function call, as that call may
|
// also needs to be restored after each function call, as that call may
|
||||||
// change it to something itself).
|
// change it to something itself).
|
||||||
|
|
||||||
// warning: this is highly unportable, unsafe, and implementation
|
// warning: this is highly unportable, unsafe, and implementation
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
typedef QWidget MenuTextItem; // it's actually a subclass, but we don't need it's functionality directly, so we'll stay on the safe side
|
typedef QWidget MenuTextItem; // it's actually a subclass, but we don't need its functionality directly, so we'll stay on the safe side
|
||||||
typedef void MainWindowController;
|
typedef void MainWindowController;
|
||||||
|
|
||||||
// AbstractNickelMenuController::createMenuTextItem creates a menu item in the
|
// AbstractNickelMenuController::createMenuTextItem creates a menu item in the
|
||||||
@@ -30,7 +30,7 @@ static MenuTextItem* (*AbstractNickelMenuController_createMenuTextItem)(void*, Q
|
|||||||
// Second bool is whether the entry is enabled (false: grayed out)
|
// Second bool is whether the entry is enabled (false: grayed out)
|
||||||
// Third bool is whether to add a separator after the entry (false: no separator)
|
// Third bool is whether to add a separator after the entry (false: no separator)
|
||||||
// Note that, even in the Main Menu, it'll inherit the color of a Reader Menu separator (#66),
|
// Note that, even in the Main Menu, it'll inherit the color of a Reader Menu separator (#66),
|
||||||
// instead of the usual dim (#BB) or solid (#00) seen in the stock Main Menu.
|
// instead of the usual dim (#BB) or solid (#00) ones seen in the stock Main Menu.
|
||||||
static QAction* (*AbstractNickelMenuController_createAction)(void*, QMenu*, QWidget*, bool, bool, bool);
|
static QAction* (*AbstractNickelMenuController_createAction)(void*, QMenu*, QWidget*, bool, bool, bool);
|
||||||
|
|
||||||
// ConfirmationDialogFactory::showOKDialog does what it says, with the provided
|
// ConfirmationDialogFactory::showOKDialog does what it says, with the provided
|
||||||
|
|||||||
Reference in New Issue
Block a user