mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: make copyPath() function of static linkage
The function was only used in core/qthelper.cpp Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9d73b66024
commit
9f349a4efc
2 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@ QString get_pressure_unit();
|
||||||
QString getSubsurfaceDataPath(QString folderToFind);
|
QString getSubsurfaceDataPath(QString folderToFind);
|
||||||
QString getPrintingTemplatePathUser();
|
QString getPrintingTemplatePathUser();
|
||||||
QString getPrintingTemplatePathBundle();
|
QString getPrintingTemplatePathBundle();
|
||||||
void copyPath(QString src, QString dst);
|
|
||||||
extern const QString get_dc_nickname(const char *model, uint32_t deviceid);
|
extern const QString get_dc_nickname(const char *model, uint32_t deviceid);
|
||||||
int gettimezoneoffset(timestamp_t when = 0);
|
int gettimezoneoffset(timestamp_t when = 0);
|
||||||
int parseDurationToSeconds(const QString &text);
|
int parseDurationToSeconds(const QString &text);
|
||||||
|
|
|
@ -712,7 +712,7 @@ QString getPrintingTemplatePathBundle()
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
void copyPath(QString src, QString dst)
|
static void copyPath(QString src, QString dst)
|
||||||
{
|
{
|
||||||
QDir dir(src);
|
QDir dir(src);
|
||||||
if (!dir.exists())
|
if (!dir.exists())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue