summaryrefslogtreecommitdiffstats
path: root/util/pathutils.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-01-20 00:26:50 +0100
committerPetr Mrázek <peterix@gmail.com>2013-01-20 00:26:50 +0100
commit3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8 (patch)
tree48e0edfb441c42bfb7c7d80489e358a9a27a59bf /util/pathutils.cpp
parentb1d00fce8da901b31fa52ea59b4bc3c8edb9d9cc (diff)
parentb371ee1de22be6d846aa53ae5574555ca012f1c3 (diff)
downloadMultiMC-3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8.tar
MultiMC-3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8.tar.gz
MultiMC-3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8.tar.lz
MultiMC-3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8.tar.xz
MultiMC-3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8.zip
Merge https://github.com/Forkk/MultiMC5
Diffstat (limited to 'util/pathutils.cpp')
-rw-r--r--util/pathutils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/pathutils.cpp b/util/pathutils.cpp
index 809dd6f2..8610b80d 100644
--- a/util/pathutils.cpp
+++ b/util/pathutils.cpp
@@ -26,6 +26,11 @@ QString PathCombine(QString path1, QString path2)
return path1.append(path2);
}
+QString PathCombine(QString path1, QString path2, QString path3)
+{
+ return PathCombine(PathCombine(path1, path2), path3);
+}
+
QString AbsolutePath(QString path)
{
return QFileInfo(path).absolutePath();