UI: Connections: Tweak "Process ID" column.

This commit is contained in:
Nodir Temirkhodjaev 2021-02-21 23:52:06 +05:00
parent f67af8006e
commit b676de6a91
2 changed files with 3 additions and 3 deletions

View File

@ -246,8 +246,8 @@ void ConnectionsWindow::setupTableConnListHeader()
header->setSectionResizeMode(5, QHeaderView::Fixed); header->setSectionResizeMode(5, QHeaderView::Fixed);
header->setSectionResizeMode(6, QHeaderView::Stretch); header->setSectionResizeMode(6, QHeaderView::Stretch);
header->resizeSection(0, 420); header->resizeSection(0, 430);
header->resizeSection(1, 65); header->resizeSection(1, 50);
header->resizeSection(2, 60); header->resizeSection(2, 60);
header->resizeSection(3, 140); header->resizeSection(3, 140);
header->resizeSection(4, 140); header->resizeSection(4, 140);

View File

@ -82,7 +82,7 @@ QVariant ConnListModel::headerData(int section, Qt::Orientation orientation, int
case 0: case 0:
return tr("Program"); return tr("Program");
case 1: case 1:
return tr("Process ID"); return (role == Qt::DisplayRole) ? tr("Proc. ID") : tr("Process ID");
case 2: case 2:
return tr("Protocol"); return tr("Protocol");
case 3: case 3: