qconf.cc (03638aaa7995c07376f2e51ac2640ccd25b4ba75) | qconf.cc (fde192511bdbff554320b31574bb8a9cb3275522) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 4 * Copyright (C) 2015 Boris Barbulovski <bbarbulovski@gmail.com> 5 */ 6 7#include <QAction> 8#include <QActionGroup> --- 133 unchanged lines hidden (view full) --- 142 143 if (!sym_is_changeable(sym) && list->optMode == normalOpt) { 144 setIcon(promptColIdx, QIcon()); 145 break; 146 } 147 expr = sym_get_tristate_value(sym); 148 switch (expr) { 149 case yes: | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 4 * Copyright (C) 2015 Boris Barbulovski <bbarbulovski@gmail.com> 5 */ 6 7#include <QAction> 8#include <QActionGroup> --- 133 unchanged lines hidden (view full) --- 142 143 if (!sym_is_changeable(sym) && list->optMode == normalOpt) { 144 setIcon(promptColIdx, QIcon()); 145 break; 146 } 147 expr = sym_get_tristate_value(sym); 148 switch (expr) { 149 case yes: |
150 if (sym_is_choice_value(sym) && type == S_BOOLEAN) | 150 if (sym_is_choice_value(sym)) |
151 setIcon(promptColIdx, choiceYesIcon); 152 else 153 setIcon(promptColIdx, symbolYesIcon); 154 ch = 'Y'; 155 break; 156 case mod: 157 setIcon(promptColIdx, symbolModIcon); 158 ch = 'M'; --- 1770 unchanged lines hidden --- | 151 setIcon(promptColIdx, choiceYesIcon); 152 else 153 setIcon(promptColIdx, symbolYesIcon); 154 ch = 'Y'; 155 break; 156 case mod: 157 setIcon(promptColIdx, symbolModIcon); 158 ch = 'M'; --- 1770 unchanged lines hidden --- |