- fixed bug that made 'tomorrow' button always show todays events

This commit is contained in:
Dorian Zedler 2019-02-17 20:50:51 +01:00
parent 2096cdbd8d
commit 9fb61963b5
3 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<manifest package="com.itsblue.flgvertretung" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.0" android:versionCode="14" android:installLocation="auto">
<manifest package="com.itsblue.flgvertretungtest" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.1" android:versionCode="15" android:installLocation="auto">
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="fannyapp" android:icon="@drawable/icon">
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="com.itsblue.flgvertretung.MainActivity" android:label="fannyapp" android:screenOrientation="unspecified" android:launchMode="singleTop">

View file

@ -70,7 +70,7 @@ Page {
height: mainMenu.buttonHeight
onClicked: {
formStack.eventDay = 0
formStack.eventDay = 1
formStack.push(eventForm)
}
}

View file

@ -154,6 +154,8 @@ int ServerConn::getEvents(QString day)
pdata.addQueryItem("mode", pGlobalAppSettings->loadSetting("teacherMode") == "true" ? "1":"0");
pdata.addQueryItem("day", day);
qDebug() << day;
// send the request
ReturnData_t ret = this->senddata(QUrl("http://www.fanny-leicht.de/j34/templates/g5_helium/intern/events.php"), pdata);