Skip to content

Commit

Permalink
Fix whitespace errors and better message in sms patch
Browse files Browse the repository at this point in the history
  • Loading branch information
radekp committed Feb 2, 2010
1 parent d57eb6b commit ad66258
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions patches/sms_debug.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ index 37b1930..a291c43 100644
- expr:" " . @/Telephony/Status/CellLocation
+ <rect rect="0,13%,0x12pt" interactive="yes" name="debugsms">
+ <text name="debugsms" size="5" bold="yes" rect="0,0,50%x12pt" align="left,vcenter" color="#ffffff" outline="#000000" transient="yes" active="expr:@/QtMoko/DebugSms &amp;&amp; !@/Communications/Messages/NewMessages">
+ <tr><trtext>%1 debug sms</trtext><trarg>@/QtMoko/DebugSms</trarg></tr>
+ <tr><trtext>%1 missed sms</trtext><trarg>@/QtMoko/DebugSms</trarg></tr>
</text>
<text name="profile" size="5" bold="yes" rect="50%,0,48%x12pt" align="right,vcenter" color="#ffffff" outline="#000000" transient="yes" active="expr:@/UI/HomeScreen/ShowProfile &amp;&amp; !@/UI/Profile/Default">
expr:@/UI/Profile/Name . " "
Expand Down Expand Up @@ -55,7 +55,7 @@ index 1c55ca9..4053a14 100644
+ {
+ qWarning() << "failed to open /tmp/newMessageArrived.txt" + f.errorString();
+ }
+
+
d->fragmentsOnly = false;
if ( d->fetching ) {
d->needRefetch = true;
Expand Down Expand Up @@ -100,7 +100,7 @@ index d7d1328..73d3410 100644
return;
QString in = item->itemName();
- if( in == "messages" ) {
+
+
+ if( in == "messages" || in == "debugsms") {
+ if(in == "debugsms")
+ {
Expand All @@ -120,7 +120,7 @@ index d7d1328..73d3410 100644
+ }
+ QFile::remove("/tmp/newMessageArrived.txt");
+ }
+
+
+ if( in == "messages") {
QtopiaServiceRequest e( "Messages", "viewNewMessages(bool)" );
e << true;
Expand Down

0 comments on commit ad66258

Please sign in to comment.