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:
Berthold Stoeger 2024-03-24 22:04:09 +01:00 committed by bstoeger
parent 2c490fcbbb
commit 29d71eb85e
3 changed files with 0 additions and 14 deletions

View file

@ -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;

View file

@ -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();

View file

@ -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()