Remove unused Frame::dumpDebug()

Should be operator<<(QDebug) anyway if we need it
This commit is contained in:
Sergio Martins
2020-05-21 18:05:24 +01:00
parent 9779b8edc3
commit e1c18de48e
2 changed files with 0 additions and 12 deletions

View File

@@ -396,15 +396,6 @@ int Frame::dbg_numFrames()
return s_dbg_numFrames; return s_dbg_numFrames;
} }
void Frame::dumpDebug()
{
qDebug() << " Frame:" << (void*)this;
qDebug() << " layoutItem=" << m_layoutItem << "; num=" << m_tabWidget->numDockWidgets();
for (auto dw : dockWidgets()) {
qDebug() << " dockwidget=" << dw << "; dw->lastPositions=" << dw->lastPositions();
}
}
bool Frame::beingDeletedLater() const bool Frame::beingDeletedLater() const
{ {
return m_beingDeleted; return m_beingDeleted;

View File

@@ -185,9 +185,6 @@ public:
///@brief For tests-only. Returns the number of Frame instances in the whole application. ///@brief For tests-only. Returns the number of Frame instances in the whole application.
static int dbg_numFrames(); static int dbg_numFrames();
///@brief for debug only, prints some debug information
void dumpDebug();
/** /**
* @brief Returns whether a deleteLater has already been issued * @brief Returns whether a deleteLater has already been issued
*/ */