diff options
-rw-r--r-- | core/qthelper.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index b09e125ca..d6a61b39c 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -711,20 +711,6 @@ QString getPrintingTemplatePathBundle() return path; } -static void copyPath(QString src, QString dst) -{ - QDir dir(src); - if (!dir.exists()) - return; - foreach (QString d, dir.entryList(QDir::Dirs | QDir::NoDotAndDotDot)) { - QString dst_path = dst + QDir::separator() + d; - dir.mkpath(dst_path); - copyPath(src + QDir::separator() + d, dst_path); - } - foreach (QString f, dir.entryList(QDir::Files)) - QFile::copy(src + QDir::separator() + f, dst + QDir::separator() + f); -} - int gettimezoneoffset(timestamp_t when) { QDateTime dt1, dt2; |