diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2019-04-01 23:17:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 12:59:17 +0300 |
commit | 2e59196e6b8d1f5461cddfc119d37c40e0027776 (patch) | |
tree | 560023634fcddd2132cfc86f6d85452d7044fbc6 /core/settings/qPrefDisplay.cpp | |
parent | ee0acb0d4045bef68bdb153c76f8506c68d8ea9f (diff) | |
download | subsurface-2e59196e6b8d1f5461cddfc119d37c40e0027776.tar.gz |
use the default constructor for empty QString and QByteArray constants
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'core/settings/qPrefDisplay.cpp')
-rw-r--r-- | core/settings/qPrefDisplay.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/settings/qPrefDisplay.cpp b/core/settings/qPrefDisplay.cpp index 46d8d8851..50ce84a96 100644 --- a/core/settings/qPrefDisplay.cpp +++ b/core/settings/qPrefDisplay.cpp @@ -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; |