subsurface/qt-ui/profile
Thiago Macieira 2e0a51264f Fix another dangling pointer
Same problem as the previous commit: toStdString() returns a temporary,
and c_str() will return a pointer to internal data, freed at the end of
the statement. So get the pointer to be strcpy'ed in the same statement.

Changed to toUtf8() to be more explicit about the encoding and to avoid
std::string

Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-05-07 22:02:21 -07:00
..
animationfunctions.cpp Change some references of QSettings to the pref struct. 2014-04-11 07:21:15 -07:00
animationfunctions.h Support Animation Speed via Settings. 2014-03-11 17:41:41 -07:00
divecartesianaxis.cpp Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
divecartesianaxis.h Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
diveeventitem.cpp Fix bug in handling of fake SAMPLE_EVENT_PO2 events 2014-05-05 09:32:13 -07:00
diveeventitem.h New profile: fix event hiding logic 2014-03-16 15:11:35 -07:00
divelineitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divelineitem.h Put include guard to every header 2014-02-11 12:37:01 -08:00
divepixmapitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divepixmapitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diveplotdatamodel.cpp Removed Duplicate Includes 2014-03-20 09:52:24 -07:00
diveplotdatamodel.h Profile2: use unsigned int for the divecomputer number 2014-03-18 11:56:06 -07:00
diveprofileitem.cpp Renaming the prefs struct members to be consistent with the QSettings. 2014-04-16 13:09:55 -07:00
diveprofileitem.h Feature to show or hide heart rate graph 2014-04-10 09:21:43 -07:00
diverectitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diverectitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetextitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetextitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetooltipitem.cpp New profile: fix Information overlay location 2014-03-13 10:28:15 -07:00
divetooltipitem.h Remove a Lot of Dead Code. 2014-03-07 08:56:06 -08:00
profilewidget2.cpp Fix another dangling pointer 2014-05-07 22:02:21 -07:00
profilewidget2.h Edit name option for bookmarks 2014-04-03 12:49:22 -07:00
ruleritem.cpp Ruler: fix bad scaling for the text background 2014-03-27 10:58:22 -07:00
ruleritem.h Ruler: change how the ruler text drawing works 2014-03-12 11:24:20 -07:00