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 // Rooted kernel required
if(featureId == 1) { 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>"; global::userApps::appCompatibilityText = "<font face='u001'>This app needs a rooted kernel, continue anyway</font><font face='Inter'>?</font>";
launchDialog = true; launchDialog = true;
} }

View file

@ -21,48 +21,33 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QLabel" name="label"> <layout class="QGridLayout" name="gridLayout">
<property name="sizePolicy"> <item row="0" column="0">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <widget class="QLabel" name="label">
<horstretch>0</horstretch> <property name="sizePolicy">
<verstretch>0</verstretch> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
</sizepolicy> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
<property name="font"> </sizepolicy>
<font> </property>
<weight>75</weight> <property name="font">
<bold>true</bold> <font>
</font> <weight>75</weight>
</property> <bold>true</bold>
<property name="lineWidth"> </font>
<number>0</number> </property>
</property> <property name="lineWidth">
<property name="text"> <number>0</number>
<string>Sleeping</string> </property>
</property> <property name="text">
<property name="alignment"> <string>Sleeping</string>
<set>Qt::AlignCenter</set> </property>
</property> <property name="alignment">
</widget> <set>Qt::AlignCenter</set>
</item> </property>
<item> </widget>
<widget class="QLabel" name="label_2"> </item>
<property name="sizePolicy"> </layout>
<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>
</item> </item>
</layout> </layout>
</widget> </widget>