Skip to content

Commit 5b60e39

Browse files
Removed unneeded functions
1 parent a4ef161 commit 5b60e39

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

src/DockAreaWidget.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ void CDockAreaWidget::insertDockWidget(int index, CDockWidget* DockWidget,
397397
bool Activate)
398398
{
399399
d->ContentsLayout->insertWidget(index, DockWidget);
400-
DockWidget->tabWidget()->setDockAreaWidget(this);
401400
auto TabWidget = DockWidget->tabWidget();
402401
// Inserting the tab will change the current index which in turn will
403402
// make the tab widget visible in the slot

src/DockWidgetTab.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -464,20 +464,6 @@ CDockWidget* CDockWidgetTab::dockWidget() const
464464
}
465465

466466

467-
//============================================================================
468-
void CDockWidgetTab::setDockAreaWidget(CDockAreaWidget* DockArea)
469-
{
470-
d->DockArea = DockArea;
471-
}
472-
473-
474-
//============================================================================
475-
CDockAreaWidget* CDockWidgetTab::dockAreaWidget() const
476-
{
477-
return d->DockArea;
478-
}
479-
480-
481467
//============================================================================
482468
void CDockWidgetTab::setIcon(const QIcon& Icon)
483469
{

src/DockWidgetTab.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,6 @@ private slots:
9999
*/
100100
CDockWidget* dockWidget() const;
101101

102-
/**
103-
* Sets the dock area widget the dockWidget returned by dockWidget()
104-
* function belongs to.
105-
*/
106-
void setDockAreaWidget(CDockAreaWidget* DockArea);
107-
108-
/**
109-
* Returns the dock area widget this title bar belongs to.
110-
* \return This function returns 0 if the dock widget that owns this title
111-
* bar widget has not been added to any dock area yet.
112-
*/
113-
CDockAreaWidget* dockAreaWidget() const;
114-
115102
/**
116103
* Sets the icon to show in title bar
117104
*/

0 commit comments

Comments
 (0)