freebsd-ports/graphics/potracegui/files/patch-mainwidget.cpp
Markus Brueffer dfe4984ca7 - Update to version 1.3
- Use OPTIONS
- Add autotrace as selectable backend
2005-03-04 10:59:27 +00:00

30 lines
878 B
C++

--- src/mainwidget.cpp.orig Fri Mar 4 09:38:35 2005
+++ src/mainwidget.cpp Fri Mar 4 11:49:53 2005
@@ -18,6 +18,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
+#include <config.h>
#include "mainwidget.h"
#include "options.h"
@@ -44,6 +45,10 @@
#include <kpushbutton.h>
#include <kmessagebox.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include <fstream>
using namespace std;
@@ -1016,7 +1021,7 @@
}
void MainWidget::marginValueChanged( double newValue) {
- if (marginValueSynconizingNecessary and checkBoxSyncronizeMargins->isChecked()) {
+ if (marginValueSynconizingNecessary && checkBoxSyncronizeMargins->isChecked()) {
marginValueSynconizingNecessary=false;
marginsL->setValue(newValue);
marginsR->setValue(newValue);