Skip to content

Commit

Permalink
Update latest OS carrier codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
xsacha committed Jun 17, 2015
1 parent edb2980 commit 312add4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions carrier
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
302
720
311
480
0
10.3.1.2582
5
10.3.2.840
9
8 changes: 4 additions & 4 deletions qml/generic/Search.qml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Item {
property bool githubUpdateComplete: false
onDevicePresentChanged: if (githubUpdateComplete && devicePresent && searchButton.enabled) searchButton.clicked()
// Find latest country/carrier pair from github
property string latestOS: "10.3.1.1154"
property string latestOS: "10.3.2.840"
Component.onCompleted: {
var http = new XMLHttpRequest()
var url = "https://raw.githubusercontent.com/xsacha/Sachesi/master/carrier";
Expand Down Expand Up @@ -197,7 +197,7 @@ Item {
TextCouple {
id: country
type: qsTr("Country") + translator.lang
value: "302"
value: "311"
subtext: carrierinfo.country
restrictions: Qt.ImhDigitsOnly | Qt.ImhNoPredictiveText
maxLength: 3
Expand All @@ -208,7 +208,7 @@ Item {
TextCouple {
id: carrier
type: qsTr("Carrier") + translator.lang
value: "720"
value: "480"
subtext: carrierinfo.carrier
restrictions: Qt.ImhDigitsOnly | Qt.ImhNoPredictiveText
maxLength: 3
Expand Down Expand Up @@ -275,7 +275,7 @@ Item {
TextCoupleSelect {
id: variant
type: qsTr("Variant") + translator.lang
selectedItem: 5
selectedItem: 9
// This is going to be hell to maintain. Maybe an identifier in dev[] for carrier-specific and its associated code?
/*onSelectedItemChanged: if (device.text === "Z10 QCOM" && selectedItem == 3) { country.value = "311"; carrier.value = "480" }
else if (device.text === "Q10" && selectedItem == 2) { country.value = "311"; carrier.value = "480" }
Expand Down
2 changes: 1 addition & 1 deletion qml/generic/Title.qml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "UI" 1.0

ApplicationWindow {
id: window
title: "Sachesi " + version + " Test"
title: "Sachesi " + version
width: 820
height: 680
minimumHeight: 540
Expand Down
2 changes: 1 addition & 1 deletion src/search/scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void Scanner::generatePotentialLinks() {
appendNewLink(&potentialText, "Z30 + Classic + Leap", "qc8960.wtr5", radioVersion);
appendNewLink(&potentialText, "Z10 (STL 100-1)", "m5730", radioVersion);
appendNewLink(&potentialText, "Z10 (STL 100-2/3/4) + P9982", "qc8960", radioVersion);
appendNewLink(&potentialText, "Z3 + Kopi/Cafe", "qc8930.wtr5", radioVersion);
appendNewLink(&potentialText, "Z3", "qc8930.wtr5", radioVersion);
// QWERTY
appendNewLink(&potentialText, "Passport + Ontario", "qc8974.wtr2", radioVersion);
appendNewLink(&potentialText, "Q5 + Q10 + P9983", "qc8960.wtr", radioVersion);
Expand Down

0 comments on commit 312add4

Please sign in to comment.