aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/helpers.h1
-rw-r--r--core/qthelper.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/core/helpers.h b/core/helpers.h
index e690245ca..84551b49e 100644
--- a/core/helpers.h
+++ b/core/helpers.h
@@ -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);
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index 638931055..cf4f8d021 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -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())