mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:56:22 +00:00
UI: Connections: Tweak "Process ID" column.
This commit is contained in:
parent
f67af8006e
commit
b676de6a91
@ -246,8 +246,8 @@ void ConnectionsWindow::setupTableConnListHeader()
|
||||
header->setSectionResizeMode(5, QHeaderView::Fixed);
|
||||
header->setSectionResizeMode(6, QHeaderView::Stretch);
|
||||
|
||||
header->resizeSection(0, 420);
|
||||
header->resizeSection(1, 65);
|
||||
header->resizeSection(0, 430);
|
||||
header->resizeSection(1, 50);
|
||||
header->resizeSection(2, 60);
|
||||
header->resizeSection(3, 140);
|
||||
header->resizeSection(4, 140);
|
||||
|
@ -82,7 +82,7 @@ QVariant ConnListModel::headerData(int section, Qt::Orientation orientation, int
|
||||
case 0:
|
||||
return tr("Program");
|
||||
case 1:
|
||||
return tr("Process ID");
|
||||
return (role == Qt::DisplayRole) ? tr("Proc. ID") : tr("Process ID");
|
||||
case 2:
|
||||
return tr("Protocol");
|
||||
case 3:
|
||||
|
Loading…
Reference in New Issue
Block a user