mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-26 15:36:19 +01:00
Bump the minimum Qt version to 5.2
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include <QDoubleValidator>
|
||||
#include <QFileDialog>
|
||||
#include <QFont>
|
||||
#include <QFontDatabase>
|
||||
#include <QKeyEvent>
|
||||
#include <QLineEdit>
|
||||
#include <QSettings>
|
||||
@@ -55,11 +56,6 @@
|
||||
#include <QUrlQuery>
|
||||
#include <QMouseEvent>
|
||||
|
||||
|
||||
#if QT_VERSION >= 0x50200
|
||||
#include <QFontDatabase>
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
@@ -82,13 +78,7 @@ QString dateTimeStr(qint64 nTime)
|
||||
|
||||
QFont fixedPitchFont()
|
||||
{
|
||||
#if QT_VERSION >= 0x50200
|
||||
return QFontDatabase::systemFont(QFontDatabase::FixedFont);
|
||||
#else
|
||||
QFont font("Monospace");
|
||||
font.setStyleHint(QFont::Monospace);
|
||||
return font;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Just some dummy data to generate a convincing random-looking (but consistent) address
|
||||
|
||||
Reference in New Issue
Block a user