patch-qt_main_window_cpp 579 B

1234567891011121314
  1. $OpenBSD: patch-qt_main_window_cpp,v 1.3 2013/04/26 13:04:14 bcallah Exp $
  2. Default to where dicts are installed
  3. --- qt/main_window.cpp.orig Sun Jan 20 14:31:21 2013
  4. +++ qt/main_window.cpp Wed Apr 24 23:11:25 2013
  5. @@ -1215,7 +1215,7 @@ void MainWindow::onSettingsPreferences()
  6. void MainWindow::onSettingsChooseDic()
  7. {
  8. QString fileName =
  9. - QFileDialog::getOpenFileName(this, _q("Choose a dictionary"), "", "*.dawg");
  10. + QFileDialog::getOpenFileName(this, _q("Choose a dictionary"), "${TRUEPREFIX}/share/eliot/", "*.dawg");
  11. changeDictionary(fileName);
  12. }