diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 9c4bd4b77..16289cfa2 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -1194,16 +1194,6 @@ extern "C" const char *local_file_path(struct picture *picture) return copy_qstring(localFilePath(picture->filename)); } -const QString picturedir() -{ - return QString(system_default_directory()).append("/picturedata/"); -} - -extern "C" char *picturedir_string() -{ - return copy_qstring(picturedir()); -} - QString get_gas_string(struct gasmix gas) { uint o2 = (get_o2(gas) + 5) / 10, he = (get_he(gas) + 5) / 10; diff --git a/core/qthelper.h b/core/qthelper.h index 41364b9f8..c3cb84165 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -130,7 +130,6 @@ char *move_away(const char *path); const char *local_file_path(struct picture *picture); char *cloud_url(); char *hashfile_name_string(); -char *picturedir_string(); enum deco_mode decoMode(bool in_planner); void parse_seabear_header(const char *filename, struct xml_params *params); char *get_current_date(); diff --git a/core/subsurfacestartup.cpp b/core/subsurfacestartup.cpp index 3fb7ec904..eb824fe8e 100644 --- a/core/subsurfacestartup.cpp +++ b/core/subsurfacestartup.cpp @@ -69,9 +69,6 @@ extern "C" void print_files() char *tmp = hashfile_name_string(); printf("Image filename table: %s\n", tmp); free(tmp); - tmp = picturedir_string(); - printf("Local picture directory: %s\n\n", tmp); - free(tmp); } static void print_help()