summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-05-29 23:18:10 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-30 06:23:46 +0900
commit94baac4cf34c57cc9bfe47cbc69a3e5de4058fba (patch)
treea500823ede6536e783b22314a706c9897cb95b62 /qt-ui
parentf1fe4869d96faed05b73addaf29d312acebc1419 (diff)
downloadsubsurface-94baac4cf34c57cc9bfe47cbc69a3e5de4058fba.tar.gz
Don't display "show" in front of every column
When (de)selecting columns, a the list of columns have a "show" in front of every entry. We don't need that. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divelistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 84cf87cb3..eb19be904 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -109,7 +109,7 @@ void DiveListView::reloadHeaderActions()
QSettings s;
s.beginGroup("DiveListColumnState");
for(int i = 0; i < model()->columnCount(); i++) {
- QString title = QString("show %1").arg(model()->headerData(i, Qt::Horizontal).toString());
+ QString title = QString("%1").arg(model()->headerData(i, Qt::Horizontal).toString());
QString settingName = QString("showColumn%1").arg(i);
QAction *a = new QAction(title, header());
bool shown = s.value(settingName, true).toBool();