mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
cleanup: remove picturedir_string()
This seems to be dead code. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2c490fcbbb
commit
29d71eb85e
3 changed files with 0 additions and 14 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue