aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-04-10 15:45:49 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-04-10 15:53:40 +0200
commit4881353efef81acc6ddbaaecd4ba89f012b3e87e (patch)
treed9b58f483d4eda76c889bf9f72c81f0a564b27cc /src/qt/clientmodel.h
parent1258dde48d255f18af928b7c59c4e78394f76de6 (diff)
rework ClientModel::getBlockSource() + BitcoinGUI::setNumBlocks()
- updates ClientModel::getBlockSource() to return all available states and sorts enum BlockSource in order of usage cases (none default, then reindex, import and network) - updates BitcoinGUI::setNumBlocks() to better use getBlockSource() and also adds a message, when we have NO block source available
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r--src/qt/clientmodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h
index 904bff1886..f9d491aa50 100644
--- a/src/qt/clientmodel.h
+++ b/src/qt/clientmodel.h
@@ -15,9 +15,9 @@ QT_END_NAMESPACE
enum BlockSource {
BLOCK_SOURCE_NONE,
- BLOCK_SOURCE_NETWORK,
+ BLOCK_SOURCE_REINDEX,
BLOCK_SOURCE_DISK,
- BLOCK_SOURCE_REINDEX
+ BLOCK_SOURCE_NETWORK
};
/** Model for Bitcoin network client. */