openbsd-ports/cad/qcad/patches/patch-qcad_src_qc_applicationwindow_cpp
kili 16aa7c1282 Fix build for gcc4.
Add some cleanups from Antti Harri <iku@openbsd.fi>.

This does not include the patch that reorders recently
used files for now.
2010-06-07 20:08:09 +00:00

13 lines
760 B
Plaintext

$OpenBSD: patch-qcad_src_qc_applicationwindow_cpp,v 1.2 2010/06/07 20:08:09 kili Exp $
--- qcad/src/qc_applicationwindow.cpp.orig Tue Nov 22 12:49:33 2005
+++ qcad/src/qc_applicationwindow.cpp Sun Jun 6 14:14:48 2010
@@ -2943,7 +2943,7 @@ void QC_ApplicationWindow::slotHelpManual() {
RS_SYSTEM->getAppDir().latin1());
RS_DEBUG->print("QC_ApplicationWindow::slotHelpManual(): appdir: %s",
RS_SYSTEM->getAppDir().latin1());
- assistant = new QAssistantClient(RS_SYSTEM->getAppDir()+"/bin", this);
+ assistant = new QAssistantClient("${MODQT_LIBDIR}/bin", this);
connect(assistant, SIGNAL(error(const QString&)),
this, SLOT(slotError(const QString&)));
QStringList args;