Skip to content

Commit

Permalink
More detailed logging in tab widget handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
albar965 committed Aug 9, 2019
1 parent 9f3d741 commit 09ee89f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/tabwidgethandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,14 @@ bool TabWidgetHandler::isTabVisible(int id) const

void TabWidgetHandler::currentChanged()
{
qDebug() << Q_FUNC_INFO;
qDebug() << Q_FUNC_INFO << tabWidget->objectName();

emit tabChanged(getCurrentTabId());
}

void TabWidgetHandler::tabCloseRequested(int index)
{
qDebug() << Q_FUNC_INFO;
qDebug() << Q_FUNC_INFO << tabWidget->objectName();

if(tabWidget->count() > 1)
{
Expand All @@ -315,7 +315,7 @@ void TabWidgetHandler::tabCloseRequested(int index)

void TabWidgetHandler::toolbarActionTriggered()
{
qDebug() << Q_FUNC_INFO;
qDebug() << Q_FUNC_INFO << tabWidget->objectName();

QAction *sendAction = dynamic_cast<QAction *>(sender());
QWidget *current = tabWidget->currentWidget();
Expand Down

0 comments on commit 09ee89f

Please sign in to comment.