mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Wi-Fi: Fixes for Glo HD
This commit is contained in:
parent
f21857fad9
commit
cb884392d2
2 changed files with 7 additions and 19 deletions
|
@ -252,7 +252,7 @@ void wifiDialog::refreshNetworksList() {
|
||||||
QVector<global::wifi::wifiNetworkData> sortedPureNetworkList;
|
QVector<global::wifi::wifiNetworkData> sortedPureNetworkList;
|
||||||
sortedPureNetworkList.append(pureNetworkList.first());
|
sortedPureNetworkList.append(pureNetworkList.first());
|
||||||
pureNetworkList.removeFirst();
|
pureNetworkList.removeFirst();
|
||||||
// Possible fix for a segment fault
|
// Possible fix for a segmentation fault
|
||||||
if(pureNetworkList.isEmpty() == false) {
|
if(pureNetworkList.isEmpty() == false) {
|
||||||
for(global::wifi::wifiNetworkData wifiNetwork: pureNetworkList) {
|
for(global::wifi::wifiNetworkData wifiNetwork: pureNetworkList) {
|
||||||
bool stopIterating = false;
|
bool stopIterating = false;
|
||||||
|
@ -376,7 +376,7 @@ void wifiDialog::refreshScreenSlot() {
|
||||||
* connect_to_network.sh - All-in-one connection manager. Manages everything, used by IPD, should be used for Wi-Fi reconnections after sleeping/booting
|
* connect_to_network.sh - All-in-one connection manager. Manages everything, used by IPD, should be used for Wi-Fi reconnections after sleeping/booting
|
||||||
* get_dhcp.sh - Gets dhcp addresses
|
* get_dhcp.sh - Gets dhcp addresses
|
||||||
* prepare_changing_wifi.sh - Kills everything, prepares to changing network
|
* prepare_changing_wifi.sh - Kills everything, prepares to changing network
|
||||||
* smarter_time_sync.sh - Syncs time
|
* timesync.sh - Syncs time
|
||||||
* toggle.sh - Turns Wi-Fi adapter on/off
|
* toggle.sh - Turns Wi-Fi adapter on/off
|
||||||
* list_networks - Lists networks
|
* list_networks - Lists networks
|
||||||
* check_wifi_passphrase.sh - Checks Wi-Fi network passphrase
|
* check_wifi_passphrase.sh - Checks Wi-Fi network passphrase
|
||||||
|
@ -438,10 +438,9 @@ void wifiDialog::watcher() {
|
||||||
return void();
|
return void();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool time = checkProcessName("smarter_time_sync.sh");
|
bool time = checkProcessName("timesync.sh");
|
||||||
if(time == true) {
|
if(time == true) {
|
||||||
forceRefresh = true;
|
forceRefresh = true;
|
||||||
// Please leave it as "Syncting time" because many people will complain about innacurate time. This info will answer them
|
|
||||||
setStatusText("Syncing time");
|
setStatusText("Syncing time");
|
||||||
QTimer::singleShot(relaunchMs, this, SLOT(watcher()));
|
QTimer::singleShot(relaunchMs, this, SLOT(watcher()));
|
||||||
return void();
|
return void();
|
||||||
|
|
|
@ -121,29 +121,18 @@
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QCheckBox" name="wifiCheckBox">
|
||||||
<property name="font">
|
<property name="layoutDirection">
|
||||||
<font>
|
<enum>Qt::RightToLeft</enum>
|
||||||
<family>Inter</family>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">font-family: Inter</string>
|
<string notr="true">font-family: Inter; font-weight: bold</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Wi-Fi</string>
|
<string>Wi-Fi</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="wifiCheckBox">
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|
Loading…
Reference in a new issue