subsurface/profile-widget
Berthold Stoeger b72cc1f317 Cleanup: consistently use qPrintable()
Replace constructs of the kind
  s.toUtf8().data(),
  s.toUtf8().constData(),
  s.toLocal8Bit().data(),
  s.toLocal8Bit.constData() or
  qUtf8Printable(s)
by
  qPrintable(s).

This is concise, consistent and - in principle - more performant than
the .data() versions.

Sadly, owing to a suboptimal implementation, qPrintable(s) currently
is a pessimization compared to s.toUtf8().data(). A fix is scheduled for
new Qt versions: https://codereview.qt-project.org/#/c/221331/

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-03-14 13:55:36 +02:00
..
animationfunctions.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
animationfunctions.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
CMakeLists.txt Correctly handle SubsurfaceMobile 2016-01-08 08:04:24 -08:00
divecartesianaxis.cpp Use correct numeric format based on selected locale (Qt domain part) 2018-03-05 16:28:18 +01:00
divecartesianaxis.h Typo: indice -> index 2018-01-10 21:25:02 +01:00
diveeventitem.cpp Cleanup: consistently use qPrintable() 2018-03-14 13:55:36 +02:00
diveeventitem.h Show ICD in gaschange icons 2018-01-21 15:24:46 +01:00
divelineitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divelineitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divepixmapitem.cpp Pictures tied to profile are not supported on mobile 2018-01-10 21:28:02 +01:00
divepixmapitem.h Pictures tied to profile are not supported on mobile 2018-01-10 21:28:02 +01:00
diveprofileitem.cpp Use correct numeric format based on selected locale (Qt domain part) 2018-03-05 16:28:18 +01:00
diveprofileitem.h Typo: Threshould -> Threshold 2018-01-10 21:25:02 +01:00
diverectitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diverectitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.h code cleanup: remove unimplemented classes and structs 2017-06-16 05:31:41 +09:00
profilewidget2.cpp Cleanup: consistently use qPrintable() 2018-03-14 13:55:36 +02:00
profilewidget2.h Pictures tied to profile are not supported on mobile 2018-01-10 21:28:02 +01:00
ruleritem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
ruleritem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
tankitem.cpp cleanup: Uninitialized pointer field 2017-12-29 09:14:20 -08:00
tankitem.h cleanup: Uninitialized pointer field 2017-12-29 09:14:20 -08:00