Skip to content

Commit

Permalink
Add icon display debug log.
Browse files Browse the repository at this point in the history
Signed-off-by: Melvin Li <[email protected]>
  • Loading branch information
Zalafina committed Dec 24, 2022
1 parent 19d50c4 commit 7807ac0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions QKeyMapper/qkeymapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,9 @@ void QKeyMapper::updateProcessInfoDisplay()
#endif
selectedSize = selectedSize_previous;
}
#ifdef DEBUG_LOGOUT_ON
qDebug() << "[UpdateProcessInfo]" << "Icon selectedSize is" << selectedSize;
#endif
QPixmap IconPixmap = m_MapProcessInfo.WindowIcon.pixmap(selectedSize);
#ifdef DEBUG_LOGOUT_ON
qDebug() << "[UpdateProcessInfo]" << "Pixmap devicePixelRatio is" << IconPixmap.devicePixelRatio();
Expand Down Expand Up @@ -1974,6 +1977,9 @@ void QKeyMapper::on_processinfoTable_doubleClicked(const QModelIndex &index)
#endif
selectedSize = selectedSize_previous;
}
#ifdef DEBUG_LOGOUT_ON
qDebug() << "[SelectProcessInfo]" << "Icon selectedSize is" << selectedSize;
#endif
QPixmap IconPixmap = m_MapProcessInfo.WindowIcon.pixmap(selectedSize);
#ifdef DEBUG_LOGOUT_ON
qDebug() << "[SelectProcessInfo]" << "Pixmap devicePixelRatio is" << IconPixmap.devicePixelRatio();
Expand Down

0 comments on commit 7807ac0

Please sign in to comment.