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:
Berthold Stoeger 2018-06-03 20:52:31 +02:00 committed by Dirk Hohndel
parent 9d73b66024
commit 9f349a4efc
2 changed files with 1 additions and 2 deletions

View file

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

View file

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