diff --git a/src/ui/form/conn/connectionswindow.cpp b/src/ui/form/conn/connectionswindow.cpp index 38f46277..b852219a 100644 --- a/src/ui/form/conn/connectionswindow.cpp +++ b/src/ui/form/conn/connectionswindow.cpp @@ -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); diff --git a/src/ui/model/connlistmodel.cpp b/src/ui/model/connlistmodel.cpp index 4693dc93..e39fa0a3 100644 --- a/src/ui/model/connlistmodel.cpp +++ b/src/ui/model/connlistmodel.cpp @@ -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: