Mercurial > hg > easyhg
changeset 216:27bfdc28541e
Merge
author | Chris Cannam |
---|---|
date | Wed, 05 Jan 2011 15:58:58 +0000 |
parents | 43ecb0dcc44e (current diff) 4c5993d860f3 (diff) |
children | 18bac9a34d58 |
files | |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mainwindow.cpp Wed Jan 05 15:58:34 2011 +0000 +++ b/mainwindow.cpp Wed Jan 05 15:58:58 2011 +0000 @@ -505,7 +505,10 @@ QString diff = settings.value("extdiffbinary", "").toString(); if (diff == "") { QStringList bases; - bases << "easyhg-extdiff-osx.sh" << "kompare" << "kdiff3" << "meld"; +#ifdef Q_OS_MAC + bases << "easyhg-extdiff-osx.sh"; +#endif + bases << "kompare" << "kdiff3" << "meld"; bool found = false; foreach (QString base, bases) { diff = findInPath(base, m_myDirPath, true); @@ -533,7 +536,10 @@ } QString merge; QStringList bases; - bases << "fmdiff3" << "meld" << "diffuse" << "kdiff3"; +#ifdef Q_OS_MAC + bases << "easyhg-merge-osx.sh"; +#endif + bases << "meld" << "diffuse" << "kdiff3"; bool found = false; foreach (QString base, bases) { merge = findInPath(base, m_myDirPath, true); @@ -563,7 +569,7 @@ << "C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe" << "notepad.exe" #elif defined Q_OS_MAC - << "textedit" + << "/Applications/TextEdit.app/Contents/MacOS/TextEdit" #else << "gedit" << "kate" #endif