mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
use the default constructor for empty QString and QByteArray constants
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
This commit is contained in:
parent
ee0acb0d40
commit
2e59196e6b
3 changed files with 9 additions and 9 deletions
|
@ -12,31 +12,31 @@ QPointF qPrefDisplay::st_tooltip_position;
|
|||
static const QPointF st_tooltip_position_default = QPointF(0,0);
|
||||
|
||||
QString qPrefDisplay::st_lastDir;
|
||||
static const QString st_lastDir_default = "";
|
||||
static const QString st_lastDir_default;
|
||||
|
||||
QString qPrefDisplay::st_theme;
|
||||
static const QString st_theme_default = QStringLiteral("Blue");
|
||||
|
||||
QString qPrefDisplay::st_userSurvey;
|
||||
static const QString st_userSurvey_default = "";
|
||||
static const QString st_userSurvey_default;
|
||||
|
||||
QByteArray qPrefDisplay::st_mainSplitter;
|
||||
static const QByteArray st_mainSplitter_default = "";
|
||||
static const QByteArray st_mainSplitter_default;
|
||||
|
||||
QByteArray qPrefDisplay::st_topSplitter;
|
||||
static const QByteArray st_topSplitter_default = "";
|
||||
static const QByteArray st_topSplitter_default;
|
||||
|
||||
QByteArray qPrefDisplay::st_bottomSplitter;
|
||||
static const QByteArray st_bottomSplitter_default = "";
|
||||
static const QByteArray st_bottomSplitter_default;
|
||||
|
||||
bool qPrefDisplay::st_maximized;
|
||||
static bool st_maximized_default = false;
|
||||
|
||||
QByteArray qPrefDisplay::st_geometry;
|
||||
static const QByteArray st_geometry_default = 0;
|
||||
static const QByteArray st_geometry_default;
|
||||
|
||||
QByteArray qPrefDisplay::st_windowState;
|
||||
static const QByteArray st_windowState_default = 0;
|
||||
static const QByteArray st_windowState_default;
|
||||
|
||||
int qPrefDisplay::st_lastState;
|
||||
static int st_lastState_default = false;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
static const QString group = QStringLiteral("GeneralSettings");
|
||||
|
||||
QString qPrefGeneral::st_diveshareExport_uid;
|
||||
static const QString st_diveshareExport_uid_default = "";
|
||||
static const QString st_diveshareExport_uid_default;
|
||||
|
||||
bool qPrefGeneral::st_diveshareExport_private;
|
||||
static const bool st_diveshareExport_private_default = false;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
static const QString group = QStringLiteral("UpdateManager");
|
||||
|
||||
QString qPrefUpdateManager::st_uuidString;
|
||||
static const QString st_uuidString_default = "";
|
||||
static const QString st_uuidString_default;
|
||||
|
||||
qPrefUpdateManager::qPrefUpdateManager(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue