diff options
author | Markus Brueffer <markus@FreeBSD.org> | 2005-03-04 10:59:27 +0000 |
---|---|---|
committer | Markus Brueffer <markus@FreeBSD.org> | 2005-03-04 10:59:27 +0000 |
commit | dfe4984ca786bf71a10a04b833ccf6fa4ca2e1ac (patch) | |
tree | f27345b4b93632d48ebc270e57704f0307969cde /graphics/potracegui/files | |
parent | 1b98492dc3dc16d4a716a49e1b5a400162af1ee1 (diff) |
Notes
Diffstat (limited to 'graphics/potracegui/files')
-rw-r--r-- | graphics/potracegui/files/patch-mainwidget.cpp | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/graphics/potracegui/files/patch-mainwidget.cpp b/graphics/potracegui/files/patch-mainwidget.cpp index 2e0872c5510c..c0e451b638bc 100644 --- a/graphics/potracegui/files/patch-mainwidget.cpp +++ b/graphics/potracegui/files/patch-mainwidget.cpp @@ -1,11 +1,30 @@ ---- src/mainwidget.cpp.orig Wed Dec 22 18:36:50 2004 -+++ src/mainwidget.cpp Wed Dec 22 18:38:09 2004 -@@ -44,6 +44,8 @@ +--- 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); |