diff options
-rw-r--r-- | core/qthelper.cpp | 9 | ||||
-rw-r--r-- | core/qthelper.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index a4187747b..889d08b60 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -1617,15 +1617,6 @@ void parse_seabear_header(const char *filename, struct xml_params *params) f.close(); } -char *intdup(int index) -{ - char tmpbuf[21]; - - snprintf(tmpbuf, sizeof(tmpbuf) - 2, "%d", index); - tmpbuf[20] = 0; - return strdup(tmpbuf); -} - extern "C" void print_qt_versions() { printf("%s\n", qPrintable(QStringLiteral("built with Qt Version %1, runtime from Qt Version %2").arg(QT_VERSION_STR).arg(qVersion()))); diff --git a/core/qthelper.h b/core/qthelper.h index 4e4b300a7..c53b185a2 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -45,7 +45,6 @@ extern const QStringList videoExtensionsList; QStringList mediaExtensionFilters(); QStringList imageExtensionFilters(); QStringList videoExtensionFilters(); -char *intdup(int index); 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); |