mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-19 19:40:19 +00:00
Add missing Q_OBJECT in bitcoin.cpp
Fixes translating HelpMessageBox strings.
This commit is contained in:
parent
d44ac73925
commit
adc704563c
@ -132,6 +132,7 @@ static void handleRunawayException(std::exception *e)
|
|||||||
/** Help message for Bitcoin-Qt, shown with --help. */
|
/** Help message for Bitcoin-Qt, shown with --help. */
|
||||||
class HelpMessageBox: public QMessageBox
|
class HelpMessageBox: public QMessageBox
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
HelpMessageBox(QWidget *parent = 0);
|
HelpMessageBox(QWidget *parent = 0);
|
||||||
|
|
||||||
@ -141,8 +142,7 @@ private:
|
|||||||
QString coreOptions;
|
QString coreOptions;
|
||||||
QString uiOptions;
|
QString uiOptions;
|
||||||
};
|
};
|
||||||
#include <QSpacerItem>
|
|
||||||
#include <QGridLayout>
|
|
||||||
HelpMessageBox::HelpMessageBox(QWidget *parent):
|
HelpMessageBox::HelpMessageBox(QWidget *parent):
|
||||||
QMessageBox(parent)
|
QMessageBox(parent)
|
||||||
{
|
{
|
||||||
@ -163,6 +163,7 @@ HelpMessageBox::HelpMessageBox(QWidget *parent):
|
|||||||
setText(header + QString(em_space).repeated(40));
|
setText(header + QString(em_space).repeated(40));
|
||||||
setDetailedText(coreOptions + "\n" + uiOptions);
|
setDetailedText(coreOptions + "\n" + uiOptions);
|
||||||
}
|
}
|
||||||
|
#include "bitcoin.moc"
|
||||||
|
|
||||||
void HelpMessageBox::exec()
|
void HelpMessageBox::exec()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user