subsurface/qt-ui
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
..
css
marble
profile Fix another dangling pointer 2014-05-07 22:02:21 -07:00
about.cpp Quit Subsurface with about window in front 2014-04-25 10:21:55 -07:00
about.h
about.ui
completionmodels.cpp
completionmodels.h
divecomputermanagementdialog.cpp Fixing Hotkeys inconsistency for divecomputer/pref/numbering windows 2014-04-25 13:24:39 -07:00
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp Fix crash on dereferencing dangling pointers 2014-05-07 21:52:56 -07:00
divelistview.h Add exporting selected dives into CSV file 2014-04-26 17:24:12 -07:00
divelogimportdialog.cpp Ctrl-W and -Q support for GPS, divelogs.de, divecomputer and CVS import 2014-04-25 10:47:44 -07:00
divelogimportdialog.h
divelogimportdialog.ui
diveplanner.cpp Remove unused variables and fix signed/unsigned mismatch 2014-04-18 13:06:21 -07:00
diveplanner.h Fixed mismatched connections 2014-04-17 22:39:36 -07:00
diveplanner.ui Improvement for various bits of the planner 2014-04-17 07:29:44 -07:00
downloadfromdivecomputer.cpp Remove spurious debug printout 2014-05-07 15:17:58 -07:00
downloadfromdivecomputer.h
downloadfromdivecomputer.ui
exif.cpp
exif.h
globe.cpp Globe: assume that we are looking at the current_dive 2014-05-07 15:17:58 -07:00
globe.h Globe: assume that we are looking at the current_dive 2014-05-07 15:17:58 -07:00
graphicsview-common.cpp Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
graphicsview-common.h Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
groupedlineedit.cpp
groupedlineedit.h
kmessagewidget.cpp
kmessagewidget.h
maintab.cpp Apply the edit of trip locations 2014-05-07 15:18:59 -07:00
maintab.h Hack around a translation issue 2014-05-07 15:17:58 -07:00
maintab.ui
mainwindow.cpp Globe: we always center on the current dive 2014-05-07 15:17:47 -07:00
mainwindow.h Add GUI support for exporting in CSV format 2014-04-26 17:20:32 -07:00
mainwindow.ui Add GUI support for exporting in CSV format 2014-04-26 17:20:32 -07:00
modeldelegates.cpp Better handling of mouse on the delegates ( Equipment Edition ) 2014-04-25 07:19:18 -07:00
modeldelegates.h Better handling of mouse on the delegates ( Equipment Edition ) 2014-04-25 07:19:18 -07:00
models.cpp Mark a lot of TODO's where I think it should be moved to C code. 2014-04-17 08:33:51 -07:00
models.h
preferences.cpp Correctly parse boolean preferences 2014-05-05 15:56:49 -07:00
preferences.h Remove some unneeded explicit paths in includes 2014-04-11 07:21:21 -07:00
preferences.ui Add option to save userid in data files 2014-04-14 09:40:30 -07:00
printdialog.cpp Print dialog: make Ctrl-Q and Ctlr-W work 2014-04-25 10:27:44 -07:00
printdialog.h
printlayout.cpp Mark a lot of TODO's where I think it should be moved to C code. 2014-04-17 08:33:51 -07:00
printlayout.h
printoptions.cpp
printoptions.h
printoptions.ui UI adjustments in Print Dialog Window 2014-04-16 12:17:49 -07:00
renumber.ui
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp Correct check for existence of DateTimeOriginal exif tag 2014-05-05 08:16:16 -07:00
simplewidgets.h
starwidget.cpp
starwidget.h
subsurfacewebservices.cpp Globe: we always center on the current dive 2014-05-07 15:17:47 -07:00
subsurfacewebservices.h Removed the globals 'userid' and 'save_userid_local' variables 2014-04-17 08:37:31 -07:00
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp Fix a minor bug in the tags widget. 2014-04-23 07:22:03 -07:00
tagwidget.h
updatemanager.cpp
updatemanager.h
usermanual.cpp Quit Subsurface with user manual window in front 2014-04-25 07:19:18 -07:00
usermanual.h
usermanual.ui
webservices.ui Add option to save userid in data files 2014-04-14 09:40:30 -07:00