mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Add name to threads
This help identifying threads when debugging. The naming scheme is using 'class/function name + variable name'. Note that the length limitaion is 16 chars on linux. On Windows, the limit is 32767 chars. PR #21403.
This commit is contained in:
@@ -75,7 +75,7 @@ public:
|
||||
, m_defaultColor {defaultColor}
|
||||
, m_currentColor {currentColor}
|
||||
{
|
||||
setObjectName(u"colorWidget"_s);
|
||||
setObjectName("colorWidget");
|
||||
setFrameShape(QFrame::Box);
|
||||
setFrameShadow(QFrame::Plain);
|
||||
setAlignment(Qt::AlignCenter);
|
||||
@@ -159,7 +159,7 @@ public:
|
||||
: QLabel(parent)
|
||||
, m_defaultPath {defaultPath}
|
||||
{
|
||||
setObjectName(u"iconWidget"_s);
|
||||
setObjectName("iconWidget");
|
||||
setAlignment(Qt::AlignCenter);
|
||||
|
||||
setCurrentPath(currentPath);
|
||||
|
||||
Reference in New Issue
Block a user