Skip to content

Commit

Permalink
Bump version number and disable per-app backup until it is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
xsacha committed Jun 26, 2015
1 parent 07b0e7f commit 4ad4929
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Sachesi.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TARGET="Sachesi"
win32: RC_ICONS += assets/sachesi.ico
else:mac: ICON = assets/sachesi.icns
else: ICON = assets/sachesi.png
VERSION = 2.0.1
VERSION = 2.0.2

# Global specific
CONFIG += c++11
Expand Down
8 changes: 6 additions & 2 deletions qml/generic/Backup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ Item {
Component {
id: sectionHeading
RowLayout{
CheckBox {
// Try to do a per-mode backup first?
/*CheckBox {
checked: true
}
}*/

Rectangle {
//width: container.width
Expand Down Expand Up @@ -172,9 +173,12 @@ Item {
width: Math.min(implicitWidth, parent.width - sizeText.width)
clip: true
checked: isMarked
// Per-app backup wasn't working when > 1 app selected
enabled: false

onCheckedChanged: isMarked = checked
onClicked: {
console.log(size)
if (checked)
appData.selectedSize += size;
else
Expand Down
8 changes: 4 additions & 4 deletions src/installer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1373,12 +1373,12 @@ void InstallNet::restoreReply()
if (_back.rev() == 2) {
postData.addQueryItem("opt", "rev2");

if (_back.curMode() == "app") {
//if (_back.curMode() == "app") {
// Select app by pkgid:
postData.addQueryItem("pkgid", "gYABgGhMIKEe6t-zx-otuOtK1JM");
//postData.addQueryItem("pkgid", "gYABgGhMIKEe6t-zx-otuOtK1JM");
// Select apps by pkgtype (system, bin, data):
postData.addQueryItem("pkgtype", "data");
}
//postData.addQueryItem("pkgtype", "data");
//}
}

reply = manager->post(setData("backup.cgi", "x-www-form-urlencoded"), postData.encodedQuery());
Expand Down
2 changes: 1 addition & 1 deletion src/sachesi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
app.setOrganizationName("Qtness");
app.setOrganizationDomain("qtness.com");
app.setApplicationName("Sachesi");
app.setApplicationVersion("2.0.1");
app.setApplicationVersion("2.0.2");

// Use system proxy except where not possible
QNetworkProxyFactory::setUseSystemConfiguration(true);
Expand Down

0 comments on commit 4ad4929

Please sign in to comment.