summaryrefslogtreecommitdiffabout
path: root/qtcompat
Side-by-side diff
Diffstat (limited to 'qtcompat') (more/less context) (show whitespace changes)
-rw-r--r--qtcompat/qinputdialog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qtcompat/qinputdialog.cpp b/qtcompat/qinputdialog.cpp
index 770b281..64c581e 100644
--- a/qtcompat/qinputdialog.cpp
+++ b/qtcompat/qinputdialog.cpp
@@ -37,2 +37,4 @@
+//Edited Lutz Rogowski 2004-12-13
+
#include "qinputdialog.h"
@@ -455,2 +457,7 @@ QString QInputDialog::getItem( const QString &caption, const QString &label, con
QString result;
+ int fixWid = 320;
+ if ( QApplication::desktop()->width() <= 240 ) {
+ fixWid = 230;
+ }
+ dlg->setFixedWidth( fixWid);
ok_ = dlg->exec() == QDialog::Accepted;