Fix gcc reorder warning
authorMASM fan <masmfan@gmail.com>
Tue, 10 Feb 2015 19:06:41 +0000 (11:06 -0800)
committerMASM fan <masmfan@gmail.com>
Tue, 10 Feb 2015 19:06:41 +0000 (11:06 -0800)
related to pull#150

src/qt/askpassphrasedialog.cpp
src/qt/bitcoingui.cpp
src/qt/walletmodel.cpp

index aef2462..34f451e 100644 (file)
@@ -22,7 +22,7 @@ AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
     ui->passEdit1->setMaxLength(MAX_PASSPHRASE_SIZE);
     ui->passEdit2->setMaxLength(MAX_PASSPHRASE_SIZE);
     ui->passEdit3->setMaxLength(MAX_PASSPHRASE_SIZE);
-    
+
     // Setup Caps Lock detection.
     ui->passEdit1->installEventFilter(this);
     ui->passEdit2->installEventFilter(this);
index 03a91db..b6d73ad 100644 (file)
@@ -75,6 +75,8 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
     QMainWindow(parent),
     clientModel(0),
     walletModel(0),
+    signVerifyMessageDialog(0),
+    multisigPage(0),
     encryptWalletAction(0),
     lockWalletAction(0),
     unlockWalletAction(0),
@@ -85,9 +87,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
     notificator(0),
     rpcConsole(0),
     aboutDialog(0),
-    optionsDialog(0),
-    multisigPage(0),
-    signVerifyMessageDialog(0)
+    optionsDialog(0)
 {
     resize(850, 550);
     setWindowTitle(tr("NovaCoin") + " - " + tr("Wallet"));
index ff2dae3..0d8b0ab 100644 (file)
@@ -410,7 +410,7 @@ void WalletModel::unsubscribeFromCoreSignals()
 WalletModel::UnlockContext WalletModel::requestUnlock()
 {
     bool was_locked = getEncryptionStatus() == Locked;
-    
+
     if ((!was_locked) && fWalletUnlockMintOnly)
     {
        setWalletLocked(true);