Hello,

Fix for a crash (revno: 7433 of trunk) is using incorrect cast. This
should be a qobject_cast instead.

Cheers,
- Adam

PS. I'm not on the mailing list, so if you need clarification, please
CC me.


=== modified file 'src/core/StelLocationMgr.cpp'
--- src/core/StelLocationMgr.cpp        2015-02-25 12:30:31 +0000
+++ src/core/StelLocationMgr.cpp        2015-03-02 18:18:22 +0000
@@ -353,7 +353,7 @@
 {
        StelLocation location;
        StelCore *core=StelApp::getInstance().getCore();
-       QNetworkReply* networkReply = static_cast<QNetworkReply*>(sender());
+       QNetworkReply *networkReply = qobject_cast<QNetworkReply*>(sender());
        if (!networkReply)
            return;
        if (networkReply->error() == QNetworkReply::NoError) {



-- 
Adam Majer
ad...@zombino.com

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to