diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-05-16 12:36:14 -0700 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-05-16 12:36:14 -0700 |
| commit | 5026891d75df122c572ee2bae39b89d220b8c0eb (patch) | |
| tree | a788885c06d8ea44b3517b6877315f2ef6562a58 /src | |
| parent | Merge pull request #1321 from laanwj/2012_05_updatemaintrans (diff) | |
| parent | Add missing Q_OBJECT in bitcoin.cpp (diff) | |
| download | discoin-5026891d75df122c572ee2bae39b89d220b8c0eb.tar.xz discoin-5026891d75df122c572ee2bae39b89d220b8c0eb.zip | |
Merge pull request #1324 from laanwj/2012_05_missing_qobject
Add missing Q_OBJECT in bitcoin.cpp
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/bitcoin.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index ab0a37abf..9452f7e1e 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -132,6 +132,7 @@ static void handleRunawayException(std::exception *e) /** Help message for Bitcoin-Qt, shown with --help. */ class HelpMessageBox: public QMessageBox { + Q_OBJECT public: HelpMessageBox(QWidget *parent = 0); @@ -141,8 +142,7 @@ private: QString coreOptions; QString uiOptions; }; -#include <QSpacerItem> -#include <QGridLayout> + HelpMessageBox::HelpMessageBox(QWidget *parent): QMessageBox(parent) { @@ -163,6 +163,7 @@ HelpMessageBox::HelpMessageBox(QWidget *parent): setText(header + QString(em_space).repeated(40)); setDetailedText(coreOptions + "\n" + uiOptions); } +#include "bitcoin.moc" void HelpMessageBox::exec() { |