diff options
| author | Cozz Lovan <[email protected]> | 2014-07-13 08:14:29 +0200 |
|---|---|---|
| committer | Cozz Lovan <[email protected]> | 2014-07-13 08:36:40 +0200 |
| commit | e3496da7307f3f8e38a27b861d8b496e10e6215b (patch) | |
| tree | e5b595cebc024daa7fa046de2d13b087ca858b35 /src | |
| parent | Merge pull request #4511 (diff) | |
| download | discoin-e3496da7307f3f8e38a27b861d8b496e10e6215b.tar.xz discoin-e3496da7307f3f8e38a27b861d8b496e10e6215b.zip | |
[Qt] Fix No such slot UnitDisplayStatusBarControl::onDisplayUnitsClicked
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/bitcoingui.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 6b3aa2a2d..80d9fbff0 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -1012,7 +1012,7 @@ UnitDisplayStatusBarControl::UnitDisplayStatusBarControl():QLabel() setToolTip(tr("Unit to show amounts in. Click to select another unit.")); } -/** So that it responds to left-button clicks */ +/** So that it responds to button clicks */ void UnitDisplayStatusBarControl::mousePressEvent(QMouseEvent *event) { onDisplayUnitsClicked(event->pos()); @@ -1029,10 +1029,6 @@ void UnitDisplayStatusBarControl::createContextMenu() menu->addAction(menuAction); } connect(menu,SIGNAL(triggered(QAction*)),this,SLOT(onMenuSelection(QAction*))); - - // what happens on right click. - setContextMenuPolicy(Qt::CustomContextMenu); - connect(this,SIGNAL(customContextMenuRequested(const QPoint&)),this,SLOT(onDisplayUnitsClicked(const QPoint&))); } /** Lets the control know about the Options Model (and its signals) */ |