diff options
| author | Philip Kaufmann <[email protected]> | 2013-04-06 12:20:02 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-04-06 12:24:52 +0200 |
| commit | 35ed704d4470c26f30fadc76d068791d01260ee5 (patch) | |
| tree | c937bb1359af2e2fd91d93880de4adf66102db12 /src | |
| parent | Merge pull request #2459 from Diapolo/pro-file (diff) | |
| download | discoin-35ed704d4470c26f30fadc76d068791d01260ee5.tar.xz discoin-35ed704d4470c26f30fadc76d068791d01260ee5.zip | |
Bitcoin-Qt: update for BitcoinGUI::eventFilter()
- this allows us to use the progressbar and the label independently (if
needed) and still prevents setStatusTip() to use them, if one of the 2
is active
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 9da5b8500..d3fcc936c 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -751,7 +751,7 @@ bool BitcoinGUI::eventFilter(QObject *object, QEvent *event) if (event->type() == QEvent::StatusTip) { // Prevent adding text from setStatusTip(), if we currently use the status bar for displaying other stuff - if (progressBarLabel->isVisible() && progressBar->isVisible()) + if (progressBarLabel->isVisible() || progressBar->isVisible()) return true; } return QMainWindow::eventFilter(object, event); |