summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/kdm-wordbreak.diff
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/tdebase/kdm-wordbreak.diff')
-rw-r--r--opensuse/tdebase/kdm-wordbreak.diff22
1 files changed, 0 insertions, 22 deletions
diff --git a/opensuse/tdebase/kdm-wordbreak.diff b/opensuse/tdebase/kdm-wordbreak.diff
deleted file mode 100644
index 9c50ecdc9..000000000
--- a/opensuse/tdebase/kdm-wordbreak.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: kdm/kfrontend/kfdialog.cpp
-===================================================================
---- kdm/kfrontend/kfdialog.cpp.orig
-+++ kdm/kfrontend/kfdialog.cpp
-@@ -28,6 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fi
- #include <klocale.h>
- #include <kpushbutton.h>
- #include <kstdguiitem.h>
-+#include <kglobalsettings.h>
-
- #include <qlabel.h>
- #include <qlayout.h>
-@@ -137,6 +138,9 @@ KFMsgBox::KFMsgBox( QWidget *parent, QMe
- QLabel *label1 = new QLabel( this );
- label1->setPixmap( QMessageBox::standardIcon( type ) );
- QLabel *label2 = new QLabel( text, this );
-+ QRect d = KGlobalSettings::desktopGeometry(this);
-+ if ( label2->fontMetrics().size( 0, text).width() > d.width() * 3 / 5)
-+ label2->setAlignment(Qt::WordBreak | Qt::AlignAuto );
- KPushButton *button = new KPushButton( KStdGuiItem::ok(), this );
- button->setDefault( true );
- button->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Preferred ) );