Skip to content

Commit fe7d615

Browse files
committed
qt, refactor: Apply clang-format to the OptionsModel::OptionID enum
1 parent 180539a commit fe7d615

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

src/qt/forms/optionsdialog.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@
808808
<item>
809809
<widget class="QCheckBox" name="peersTabAlternatingRowColors">
810810
<property name="toolTip">
811-
<string>Turn on/off row color alternating for both &quot;Peers&quot; and &quot;Banned peers&quot; tables in the Peer Tab.</string>
811+
<string>Alternate the row colors for the &quot;Peers&quot; and &quot;Banned peers&quot; tables in the Peers tab.</string>
812812
</property>
813813
<property name="text">
814814
<string>Alternate row colors in the Peers Tab</string>

src/qt/optionsmodel.h

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,30 +44,30 @@ class OptionsModel : public QAbstractListModel
4444
explicit OptionsModel(QObject *parent = nullptr, bool resetSettings = false);
4545

4646
enum OptionID {
47-
StartAtStartup, // bool
48-
ShowTrayIcon, // bool
49-
MinimizeToTray, // bool
50-
MapPortUPnP, // bool
51-
MapPortNatpmp, // bool
52-
MinimizeOnClose, // bool
53-
ProxyUse, // bool
54-
ProxyIP, // QString
55-
ProxyPort, // int
56-
ProxyUseTor, // bool
57-
ProxyIPTor, // QString
58-
ProxyPortTor, // int
59-
DisplayUnit, // BitcoinUnits::Unit
60-
ThirdPartyTxUrls, // QString
61-
Language, // QString
62-
UseEmbeddedMonospacedFont, // bool
47+
StartAtStartup, // bool
48+
ShowTrayIcon, // bool
49+
MinimizeToTray, // bool
50+
MapPortUPnP, // bool
51+
MapPortNatpmp, // bool
52+
MinimizeOnClose, // bool
53+
ProxyUse, // bool
54+
ProxyIP, // QString
55+
ProxyPort, // int
56+
ProxyUseTor, // bool
57+
ProxyIPTor, // QString
58+
ProxyPortTor, // int
59+
DisplayUnit, // BitcoinUnits::Unit
60+
ThirdPartyTxUrls, // QString
61+
Language, // QString
62+
UseEmbeddedMonospacedFont, // bool
6363
PeersTabAlternatingRowColors, // bool
64-
CoinControlFeatures, // bool
65-
ThreadsScriptVerif, // int
66-
Prune, // bool
67-
PruneSize, // int
68-
DatabaseCache, // int
69-
SpendZeroConfChange, // bool
70-
Listen, // bool
64+
CoinControlFeatures, // bool
65+
ThreadsScriptVerif, // int
66+
Prune, // bool
67+
PruneSize, // int
68+
DatabaseCache, // int
69+
SpendZeroConfChange, // bool
70+
Listen, // bool
7171
OptionIDRowCount,
7272
};
7373

0 commit comments

Comments
 (0)