mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
core: remove copy_qstring() function
No more users of that (yippie!). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ccdd92aeb7
commit
d594cc72f0
3 changed files with 1 additions and 7 deletions
|
@ -5,7 +5,7 @@
|
|||
#include "core/divelog.h"
|
||||
#include "core/event.h"
|
||||
#include "core/fulltext.h"
|
||||
#include "core/qthelper.h" // for copy_qstring
|
||||
#include "core/qthelper.h"
|
||||
#include "core/range.h"
|
||||
#include "core/sample.h"
|
||||
#include "core/selection.h"
|
||||
|
|
|
@ -1520,11 +1520,6 @@ void unlock_planner()
|
|||
planLock.unlock();
|
||||
}
|
||||
|
||||
char *copy_qstring(const QString &s)
|
||||
{
|
||||
return strdup(qPrintable(s));
|
||||
}
|
||||
|
||||
// function to call to allow the UI to show updates for longer running activities
|
||||
void (*uiNotificationCallback)(QString msg) = nullptr;
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ extern const QStringList videoExtensionsList;
|
|||
QStringList mediaExtensionFilters();
|
||||
QStringList imageExtensionFilters();
|
||||
QStringList videoExtensionFilters();
|
||||
char *copy_qstring(const QString &);
|
||||
QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true);
|
||||
QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true);
|
||||
QString get_depth_unit(bool metric);
|
||||
|
|
Loading…
Reference in a new issue