All pastes #571805 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-17 10:19 UTC
rendered paste body
Index: src/frontends/qbanking/lib/dialogs/qbselectbackend.cpp
===================================================================
--- src/frontends/qbanking/lib/dialogs/qbselectbackend.cpp      (Revision 1241)
+++ src/frontends/qbanking/lib/dialogs/qbselectbackend.cpp      (Arbeitskopie)
@@ -25,6 +25,7 @@
 #include <qcombobox.h>
 #include <qpushbutton.h>
 #include <qtextbrowser.h>
+#include <qlabel.h> // for qt4 setWordWrap(true)



@@ -76,6 +77,10 @@
   else
     slotActivated(0);

+#if (QT_VERSION >= 0x040000)
+  // In qt4, QLabel has word-wrap disabled by default
+  textLabel1->setWordWrap(true);
+#endif // QT_VERSION >= 4
 }