Corrected constness of some functions, changed signatur of setCentralWidget function
This commit is contained in:
@@ -968,12 +968,14 @@ CDockAreaTitleBar* CDockAreaWidget::titleBar() const
|
||||
|
||||
|
||||
//============================================================================
|
||||
bool CDockAreaWidget::isCentralWidgetArea()
|
||||
bool CDockAreaWidget::isCentralWidgetArea() const
|
||||
{
|
||||
if(dockWidgetsCount()!=1)
|
||||
if (dockWidgetsCount()!= 1)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return dockManager()->centralWidget()==dockWidgets()[0];
|
||||
return dockManager()->centralWidget() == dockWidgets()[0];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user