Hi,
you should not modify the upstream source package but provide a patch to
fix the issue. So it is possible to see what modifications are done
compared to the upstream release.
Regards,
Marko
On 03/29/2011 07:29 PM, Kevron Rees wrote:
Hi,
I have made the following changes to connman-qt in project Trunk:Testing.
Please review and accept ASAP.
Thank You,
Kevron Rees
[This message was auto-generated]
---
Request #15438:
submit: home:kevronx_m_rees:branches:Trunk:Testing/connman-qt(r3)(cleanup)
-> Trunk:Testing/connman-qt
Message:
fixes BMC #14923
State: new 2011-03-29T09:29:11 kevronx_m_rees
Comment: None
changes files:
--------------
--- connman-qt.changes
+++ connman-qt.changes
@@ -0,0 +1,3 @@
+* Fri Mar 25 2011 Kevron Rees<[email protected]> - 0.0.3
+- fixes BMC #14923
+
spec files:
-----------
other changes:
--------------
++++++ connman-qt-0.0.3.tar.bz2
--- networkitem.cpp
+++ networkitem.cpp
@@ -406,6 +406,7 @@
//strings and 0 for ints/bools
m_name = qdbus_cast<QString>(properties[Name]);
+ nameChanged(m_name);
m_type = qdbus_cast<QString>(properties[Type]);
typeChanged(m_type);
m_mode= qdbus_cast<QString>(properties[Mode]);
--- networklist.cpp
+++ networklist.cpp
@@ -407,12 +407,19 @@
{
if(newCount> 0)
{
- if(m_networks.at(0) != m_defaultRoute)
+ NetworkItemModel* tempItem = m_networks.at(0);
+ if(tempItem != m_defaultRoute&&
+ (tempItem->state() == NetworkItemModel::StateReady ||
NetworkItemModel::StateOnline))
{
m_defaultRoute = m_networks.at(0);
defaultRouteChanged(m_defaultRoute);
}
}
+ else
+ {
+ m_defaultRoute = NULL;
+ defaultRouteChanged(m_defaultRoute);
+ }
}
int NetworkListModel::findNetworkItemModel(const QDBusObjectPath&path) const
_______________________________________________
MeeGo-commits mailing list
[email protected]
http://lists.meego.com/listinfo/meego-commits
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging