openbsd-ports/cad/qcad/patches/patch-qcad_src_qc_applicationwindow_cpp
steven 7d7bc69e67 update to qcad 2.0.5.0
problem on amd64 fixed by Martynas Venckus, thanks

also tested by ckuethe, ajacoutot, Antti Harri, and Andreas Bihlmaier
2007-01-09 16:30:37 +00:00

13 lines
751 B
Plaintext

$OpenBSD: patch-qcad_src_qc_applicationwindow_cpp,v 1.1 2007/01/09 16:30:37 steven Exp $
--- qcad/src/qc_applicationwindow.cpp.orig Sat Jan 6 16:31:24 2007
+++ qcad/src/qc_applicationwindow.cpp Sat Jan 6 16:54:10 2007
@@ -2943,7 +2943,7 @@ void QC_ApplicationWindow::slotHelpManua
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("!!QTDIR!!/bin", this);
connect(assistant, SIGNAL(error(const QString&)),
this, SLOT(slotError(const QString&)));
QStringList args;