From 2e59196e6b8d1f5461cddfc119d37c40e0027776 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Mon, 1 Apr 2019 23:17:17 +0200 Subject: use the default constructor for empty QString and QByteArray constants Signed-off-by: Rolf Eike Beer --- core/settings/qPrefDisplay.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'core/settings/qPrefDisplay.cpp') 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; -- cgit v1.2.3-70-g09d2