s/LOCALBASE/TRUEPREFIX/, from ajacoutot@

This commit is contained in:
landry 2012-03-05 18:28:40 +00:00
parent 1b73bf600d
commit fca1d1455b

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-qt_main_window_cpp,v 1.1.1.1 2012/03/05 18:05:35 landry Exp $
$OpenBSD: patch-qt_main_window_cpp,v 1.2 2012/03/05 18:28:40 landry Exp $
Default to where dicts are installed
--- qt/main_window.cpp.orig Mon Mar 5 11:45:39 2012
+++ qt/main_window.cpp Mon Mar 5 11:45:57 2012
@ -7,7 +7,7 @@ Default to where dicts are installed
{
QString fileName =
- QFileDialog::getOpenFileName(this, _q("Choose a dictionary"), "", "*.dawg");
+ QFileDialog::getOpenFileName(this, _q("Choose a dictionary"), "${LOCALBASE}/share/eliot/", "*.dawg");
+ QFileDialog::getOpenFileName(this, _q("Choose a dictionary"), "${TRUEPREFIX}/share/eliot/", "*.dawg");
changeDictionary(fileName);
}