mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ac1f9e2eb9
commit
a70b781c58
1 changed files with 7 additions and 6 deletions
|
@ -238,12 +238,11 @@ int KMessageBox::createKMessageBox(KDialog *dialog, const QIcon &icon, const QSt
|
|||
scrollPal.setColor(QPalette::Window, Qt::transparent);
|
||||
messageScrollArea->viewport()->setPalette(scrollPal);
|
||||
hLayout->addWidget(messageScrollArea,5);
|
||||
}
|
||||
else
|
||||
} else {
|
||||
hLayout->addWidget(messageLabel,5);
|
||||
}
|
||||
|
||||
|
||||
const bool usingListWidget=!strlist.isEmpty();
|
||||
const bool usingListWidget = !strlist.isEmpty();
|
||||
if (usingListWidget) {
|
||||
// enable automatic wrapping since the listwidget has already a good initial width
|
||||
messageLabel->setWordWrap(true);
|
||||
|
@ -368,8 +367,10 @@ int KMessageBox::questionYesNo(QWidget *parent, const QString &text,
|
|||
const QString &dontAskAgainName,
|
||||
Options options)
|
||||
{
|
||||
return questionYesNoList(parent, text, QStringList(), caption,
|
||||
buttonYes, buttonNo, dontAskAgainName, options);
|
||||
return questionYesNoList(
|
||||
parent, text, QStringList(), caption,
|
||||
buttonYes, buttonNo, dontAskAgainName, options
|
||||
);
|
||||
}
|
||||
|
||||
int KMessageBox::questionYesNoWId(WId parent_id, const QString &text,
|
||||
|
|
Loading…
Add table
Reference in a new issue