[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kio] src/widgets: compile.
From: Harald Fernengel <harry () kdevelop ! org>
Date: 2014-02-12 12:01:25
Message-ID: E1WDYVJ-0005X8-2d () scm ! kde ! org
[Download RAW message or body]
Git commit b017256e0b6834a860b42867c9a7fcb68c109964 by Harald Fernengel.
Committed on 12/02/2014 at 12:00.
Pushed by harald into branch 'master'.
compile.
M +2 -2 src/widgets/jobuidelegate.cpp
http://commits.kde.org/kio/b017256e0b6834a860b42867c9a7fcb68c109964
diff --git a/src/widgets/jobuidelegate.cpp b/src/widgets/jobuidelegate.cpp
index 8a955d2..2d2d188 100644
--- a/src/widgets/jobuidelegate.cpp
+++ b/src/widgets/jobuidelegate.cpp
@@ -215,7 +215,7 @@ bool KIO::JobUiDelegate::askDeleteConfirmation(const QList<QUrl> &urls,
int result;
QWidget *widget = job() ? window() : NULL; // ### job is NULL here, most of the time, right?
- const KMessageBox::Options options = KMessageBox::Notify | KMessageBox::WindowModal;
+ const KMessageBox::Options options(KMessageBox::Notify | KMessageBox::WindowModal);
switch (deletionType) {
case Delete:
result = KMessageBox::warningContinueCancelList(
@@ -281,7 +281,7 @@ int KIO::JobUiDelegate::requestMessageBox(KIO::JobUiDelegate::MessageBoxType typ
const KGuiItem buttonYesGui(buttonYes, iconYes);
const KGuiItem buttonNoGui(buttonNo, iconNo);
- KMessageBox::Options options = (KMessageBox::Notify | KMessageBox::WindowModal);
+ KMessageBox::Options options(KMessageBox::Notify | KMessageBox::WindowModal);
switch (type) {
case QuestionYesNo:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic