subsurface/desktop-widgets/tab-widgets
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
..
maintab.cpp Cleanup: consistently use qPrintable() 2018-03-14 13:55:36 +02:00
maintab.h Disable specific tabs when dive trip selected 2017-12-01 03:45:59 +01:00
maintab.ui Use better aliases for icons. 2017-11-30 23:14:46 -08:00
TabBase.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabBase.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.ui
TabDiveInformation.cpp Consistently use the famous l for liters in info tab 2018-02-17 19:48:50 -08:00
TabDiveInformation.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveInformation.ui Choose water presets from a qcombobox in planner, custom value possible 2018-03-02 08:38:22 -08:00
TabDivePhotos.cpp Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDivePhotos.h Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDivePhotos.ui Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDiveStatistics.cpp Use temperature_t for temperatures in struct stats_t 2018-02-24 11:45:17 -08:00
TabDiveStatistics.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveStatistics.ui Change layout of information and statistics tab... 2017-05-01 21:24:02 -07:00