Skip to content

Commit 37d305e

Browse files
Fixed documentation of toolBarIconSize() function of DockWidget
1 parent 1c2383f commit 37d305e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/DockWidget.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,13 +346,10 @@ private slots:
346346
QIcon icon() const;
347347

348348
/**
349-
* If the WithToolBar layout flag is enabled, then this function returns
350-
* the dock widget toolbar. If the flag is disabled, the function returns
351-
* a nullptr.
352349
* This function returns the dock widget top tool bar.
353350
* If no toolbar is assigned, this function returns nullptr. To get a vaild
354351
* toolbar you either need to create a default empty toolbar via
355-
* createDefaultToolBar() function or you need to assign you custom
352+
* createDefaultToolBar() function or you need to assign your custom
356353
* toolbar via setToolBar().
357354
*/
358355
QToolBar* toolBar() const;

0 commit comments

Comments
 (0)