openbsd-ports/games/eliot/patches/patch-qt_main_window_cpp
2012-03-05 18:28:40 +00:00

14 lines
576 B
Plaintext

$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
@@ -823,7 +823,7 @@ void MainWindow::onSettingsPreferences()
void MainWindow::onSettingsChooseDic()
{
QString fileName =
- QFileDialog::getOpenFileName(this, _q("Choose a dictionary"), "", "*.dawg");
+ QFileDialog::getOpenFileName(this, _q("Choose a dictionary"), "${TRUEPREFIX}/share/eliot/", "*.dawg");
changeDictionary(fileName);
}