[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [libkpeople] src/examples: Return the eventloop result from main
From: Aleix Pol <aleixpol () kde ! org>
Date: 2013-09-11 19:43:24
Message-ID: E1VJqJw-0005wW-J5 () scm ! kde ! org
[Download RAW message or body]
Git commit 5f6b002dd5d8e687a177b09ef8a255c2d923613e by Aleix Pol.
Committed on 07/09/2013 at 23:06.
Pushed by apol into branch 'master'.
Return the eventloop result from main
I wonder why g++ lets these things pass...
M +1 -1 src/examples/mergededicateddialog.cpp
http://commits.kde.org/libkpeople/5f6b002dd5d8e687a177b09ef8a255c2d923613e
diff --git a/src/examples/mergededicateddialog.cpp b/src/examples/mergededi=
cateddialog.cpp
index 1824067..c632b62 100644
--- a/src/examples/mergededicateddialog.cpp
+++ b/src/examples/mergededicateddialog.cpp
@@ -42,5 +42,5 @@ int main(int argc, char **argv)
QObject::connect(persons, SIGNAL(modelInitialized()), &dialog, SLOT(sh=
ow()));
QObject::connect(&dialog, SIGNAL(finished(int)), &app, SLOT(quit()));
=
- app.exec();
+ return app.exec();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic