diff options
-rw-r--r-- | qt-ui/divelistview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index 0d0d999f4..3c71699a1 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -73,6 +73,7 @@ DiveListView::~DiveListView() settings.endGroup(); } +static int defaultWidth[] = { 70, 130, 100, 50, 50, 50, 50, 70, 50, 50, 70, 50, 50, 500 }; void DiveListView::setupUi() { QSettings settings; @@ -90,7 +91,7 @@ void DiveListView::setupUi() if (width.isValid()) setColumnWidth(i, width.toInt()); else - setColumnWidth(i, 100); + setColumnWidth(i, defaultWidth[i]); } settings.endGroup(); if (firstRun) |