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
@ -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…
x
Reference in New Issue
Block a user