More replacing of show() with open()
This time on DockWidgetViewInterface
This commit is contained in:
@@ -95,11 +95,16 @@ void DockWidgetViewInterface::forceClose()
|
||||
m_dockWidget->forceClose();
|
||||
}
|
||||
|
||||
void DockWidgetViewInterface::show()
|
||||
void DockWidgetViewInterface::open()
|
||||
{
|
||||
m_dockWidget->open();
|
||||
}
|
||||
|
||||
void DockWidgetViewInterface::show()
|
||||
{
|
||||
open();
|
||||
}
|
||||
|
||||
void DockWidgetViewInterface::raise()
|
||||
{
|
||||
m_dockWidget->raise();
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
QAction *floatAction() const;
|
||||
bool isOpen() const;
|
||||
void forceClose();
|
||||
void show();
|
||||
void open();
|
||||
void raise();
|
||||
void moveToSideBar();
|
||||
void setIcon(const QIcon &icon, IconPlaces places = IconPlace::All);
|
||||
@@ -66,6 +66,9 @@ public:
|
||||
DockWidgetOptions options() const;
|
||||
void setOptions(DockWidgetOptions);
|
||||
|
||||
/// @deprecated. Use open() instead.
|
||||
void show();
|
||||
|
||||
protected:
|
||||
Controllers::DockWidget *const m_dockWidget;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user