mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:43:23 +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 getPrintingTemplatePathUser();
|
||||
QString getPrintingTemplatePathBundle();
|
||||
void copyPath(QString src, QString dst);
|
||||
extern const QString get_dc_nickname(const char *model, uint32_t deviceid);
|
||||
int gettimezoneoffset(timestamp_t when = 0);
|
||||
int parseDurationToSeconds(const QString &text);
|
||||
|
|
|
@ -712,7 +712,7 @@ QString getPrintingTemplatePathBundle()
|
|||
return path;
|
||||
}
|
||||
|
||||
void copyPath(QString src, QString dst)
|
||||
static void copyPath(QString src, QString dst)
|
||||
{
|
||||
QDir dir(src);
|
||||
if (!dir.exists())
|
||||
|
|
Loading…
Add table
Reference in a new issue