mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f1fe4869d9
commit
94baac4cf3
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue