summaryrefslogtreecommitdiffstats
path: root/util/pathutils.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-01-14 17:42:38 -0600
committerAndrew <forkk@forkk.net>2013-01-14 17:42:38 -0600
commitfce0f5df045f1d956cabeda41406001a037c9ab7 (patch)
tree269c8dd0ceb5ca94ef3c708c9b225de7189b0719 /util/pathutils.cpp
parent586092cf9901dde873882c76cb3944cd0addbd2a (diff)
downloadMultiMC-fce0f5df045f1d956cabeda41406001a037c9ab7.tar
MultiMC-fce0f5df045f1d956cabeda41406001a037c9ab7.tar.gz
MultiMC-fce0f5df045f1d956cabeda41406001a037c9ab7.tar.lz
MultiMC-fce0f5df045f1d956cabeda41406001a037c9ab7.tar.xz
MultiMC-fce0f5df045f1d956cabeda41406001a037c9ab7.zip
Added stuff.
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();