mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Remove support for QT4 (part 3)
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e9cf3d6941
commit
660459461c
1 changed files with 0 additions and 12 deletions
12
qthelper.cpp
12
qthelper.cpp
|
@ -41,18 +41,6 @@ static QString dateFormat;
|
|||
static QString timeFormat;
|
||||
static QLocale loc;
|
||||
|
||||
#if defined(Q_OS_WIN) && QT_VERSION < 0x050000
|
||||
static QByteArray encodeUtf8(const QString &fname)
|
||||
{
|
||||
return fname.toUtf8();
|
||||
}
|
||||
|
||||
static QString decodeUtf8(const QByteArray &fname)
|
||||
{
|
||||
return QString::fromUtf8(fname);
|
||||
}
|
||||
#endif
|
||||
|
||||
#define translate(_context, arg) trGettext(arg)
|
||||
static const QString DEGREE_SIGNS("dD" UTF8_DEGREE);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue