Small fixes

This commit is contained in:
Nicolas Mailloux 2022-08-06 23:23:00 -04:00
parent 0676431c35
commit 69df4bb554
2 changed files with 28 additions and 43 deletions

View file

@ -193,7 +193,7 @@ bool userapps::manageRequiredFeatures()
}
// Rooted kernel required
if(featureId == 1) {
if(checkconfig("/external_root/opt/root/rooted") == true) {
if(checkconfig("/external_root/opt/root/rooted") == false) {
global::userApps::appCompatibilityText = "<font face='u001'>This app needs a rooted kernel, continue anyway</font><font face='Inter'>?</font>";
launchDialog = true;
}

View file

@ -21,6 +21,8 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
@ -45,24 +47,7 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="text">
<string></string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</layout>
</item>
</layout>
</widget>