[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/kdialog
From: Michael Pyne <mpyne () purinchu ! net>
Date: 2009-03-07 4:19:25
Message-ID: 1236399565.983582.15097.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 936128 by mpyne:
While I'm fixing KDialog bugs, fix bug 186413 (--textinputbox doesn't return actual \
result status) in trunk.
CCBUG:186413
M +2 -2 widgets.cpp
--- trunk/KDE/kdebase/apps/kdialog/widgets.cpp #936127:936128
@@ -164,9 +164,9 @@
handleXGeometry(&dlg);
dlg.setCaption(title);
- dlg.exec();
+ int returnDialogCode = dlg.exec();
result = edit->toPlainText();
- return 0;
+ return (returnDialogCode == KDialog::Accepted ? 0 : 1);
}
bool Widgets::comboBox(QWidget *parent, const QString& title, const QString& text, \
const QStringList& args,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic