65
65
#include < QMimeData>
66
66
#include < QStackedWidget>
67
67
#include < QDateTime>
68
- #include < QMovie>
69
68
#include < QFileDialog>
70
69
#include < QStandardPaths>
71
70
#include < QTimer>
@@ -173,8 +172,6 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
173
172
// Create status bar
174
173
// statusBar();
175
174
176
- syncIconMovie = new QMovie (" :/movies/update_spinner" , " GIF" , this );
177
-
178
175
// Clicking on a transaction on the overview page simply sends you to transaction history page
179
176
connect (overviewPage, SIGNAL (transactionClicked (QModelIndex)), this , SLOT (gotoHistoryPage ()));
180
177
connect (overviewPage, SIGNAL (transactionClicked (QModelIndex)), transactionView, SLOT (focusTransaction (QModelIndex)));
@@ -735,7 +732,7 @@ void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks)
735
732
text = tr (" %n day(s) ago" , " " , secs/(60 *60 *24 ));
736
733
}
737
734
738
- // Set icon state: spinning if catching up, tick otherwise
735
+ // Set icon state: not synced icon if catching up, tick otherwise
739
736
if (secs < 90 *60 && count >= nTotalBlocks)
740
737
{
741
738
tooltip = tr (" Up to date" ) + QString (" .<br>" ) + tooltip;
@@ -745,9 +742,8 @@ void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks)
745
742
}
746
743
else
747
744
{
745
+ labelBlocksIcon->setPixmap (QIcon (" :/icons/notsynced" ).pixmap (STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
748
746
tooltip = tr (" Catching up..." ) + QString (" <br>" ) + tooltip;
749
- labelBlocksIcon->setMovie (syncIconMovie);
750
- syncIconMovie->start ();
751
747
752
748
overviewPage->showOutOfSyncWarning (true );
753
749
}
@@ -1455,9 +1451,8 @@ void BitcoinGUI::updateScraperIcon(int scraperEventtype, int status)
1455
1451
}
1456
1452
else if (scraperEventtype == (int )scrapereventtypes::Stats && (status == CT_NEW || status == CT_UPDATED || status == CT_UPDATING))
1457
1453
{
1454
+ labelScraperIcon->setPixmap (QIcon (" :/icons/notsynced" ).pixmap (STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
1458
1455
labelScraperIcon->setToolTip (tr (" Scraper: downloading and processing stats." ));
1459
- labelScraperIcon->setMovie (syncIconMovie);
1460
- syncIconMovie->start ();
1461
1456
}
1462
1457
else if ((scraperEventtype == (int )scrapereventtypes::Convergence || scraperEventtype == (int )scrapereventtypes::SBContract)
1463
1458
&& (status == CT_NEW || status == CT_UPDATED) && nConvergenceTime)
0 commit comments