diff hgrunner.cpp @ 240:53ad43d5a463

* Small tidy
author Chris Cannam
date Mon, 10 Jan 2011 15:23:53 +0000
parents 661f5808aa0a
children 8fd71f570884
line wrap: on
line diff
--- a/hgrunner.cpp	Mon Jan 10 15:18:21 2011 +0000
+++ b/hgrunner.cpp	Mon Jan 10 15:23:53 2011 +0000
@@ -18,6 +18,7 @@
 #include "hgrunner.h"
 #include "common.h"
 #include "debug.h"
+#include "settingsdialog.h"
 
 #include <QPushButton>
 #include <QListWidget>
@@ -71,10 +72,7 @@
 
 QString HgRunner::getUnbundledFileName()
 {
-    QString home = QDir::homePath();
-    QString target = QString("%1/.easyhg").arg(home);
-    QString extpath = QString("%1/easyhg.py").arg(target);
-    return extpath;
+    return SettingsDialog::getUnbundledExtensionFileName();
 }
 
 QString HgRunner::unbundleExtension()