diff --git a/examples/dockwidgets/main.cpp b/examples/dockwidgets/main.cpp index 20095b29..43399899 100644 --- a/examples/dockwidgets/main.cpp +++ b/examples/dockwidgets/main.cpp @@ -115,7 +115,7 @@ int main(int argc, char **argv) QCoreApplication::translate("main", "The title bar's close button will only close the current tab instead of all. Illustrates using Config::Flag_CloseOnlyCurrentTab")); parser.addOption(closeOnlyCurrentTab); - QCommandLineOption dontCloseBeforeRestore("dont-close-widget-before-restore", + QCommandLineOption dontCloseBeforeRestore("dont-close-widget-before-restore", //krazy:exclude=spelling QCoreApplication::translate("main", "DockWidget #5 wont be closed before a restore. Illustrates LayoutSaverOption::DontCloseBeforeRestore")); parser.addOption(dontCloseBeforeRestore); diff --git a/src/DockWidgetBase.h b/src/DockWidgetBase.h index 821633c9..0515aeeb 100644 --- a/src/DockWidgetBase.h +++ b/src/DockWidgetBase.h @@ -92,8 +92,8 @@ public: /** * @brief constructs a new DockWidget * @param uniqueName the name of the dockwidget, should be unique. Use title for user visible text. - * @param options options controlling certain behaviours - * @param layoutSaverOptions options to control save/restore + * @param options the options controlling certain behaviours + * @param layoutSaverOptions the options to control save/restore * * There's no parent argument. The DockWidget is either parented to FloatingWindow or MainWindow * when visible, or stays without a parent when hidden.