mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-14 16:57:57 +00:00
compile fixes by Unthinkingbit
This commit is contained in:
parent
a404b1512a
commit
0030c1bd6c
@ -13,7 +13,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent):
|
|||||||
amount->setValidator(new QRegExpValidator(QRegExp("[0-9]+"), this));
|
amount->setValidator(new QRegExpValidator(QRegExp("[0-9]+"), this));
|
||||||
amount->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
amount->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||||
amount->installEventFilter(this);
|
amount->installEventFilter(this);
|
||||||
amount->setMaximumWidth(80);
|
amount->setMaximumWidth(100);
|
||||||
decimals = new QLineEdit(this);
|
decimals = new QLineEdit(this);
|
||||||
decimals->setValidator(new QRegExpValidator(QRegExp("[0-9]+"), this));
|
decimals->setValidator(new QRegExpValidator(QRegExp("[0-9]+"), this));
|
||||||
decimals->setMaxLength(8);
|
decimals->setMaxLength(8);
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>736</width>
|
<width>660</width>
|
||||||
<height>193</height>
|
<height>151</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
QString GUIUtil::DateTimeStr(qint64 nTime)
|
QString GUIUtil::DateTimeStr(qint64 nTime)
|
||||||
{
|
{
|
||||||
QDateTime date = QDateTime::fromMSecsSinceEpoch(nTime*1000);
|
QDateTime date = QDateTime::fromTime_t((qint32)nTime);
|
||||||
return date.date().toString(Qt::SystemLocaleShortDate) + QString(" ") + date.toString("hh:mm");
|
return date.date().toString(Qt::SystemLocaleShortDate) + QString(" ") + date.toString("hh:mm");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "guiutil.h"
|
#include "guiutil.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "externui.h"
|
#include "qtui.h"
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#define BITCOIN_EXTERNUI_H
|
#define BITCOIN_EXTERNUI_H
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <boost/function/function0.hpp>
|
||||||
|
|
||||||
typedef void wxWindow;
|
typedef void wxWindow;
|
||||||
#define wxYES 0x00000002
|
#define wxYES 0x00000002
|
||||||
|
Loading…
Reference in New Issue
Block a user