mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-12 13:25:51 +00:00
small fix
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
Ver.1.2.0:
|
Ver.1.2.0:
|
||||||
+ [all] added icons
|
+ [all] added icons
|
||||||
+ [all] added support of netctl-auto
|
+ [all] added support of netctl-auto
|
||||||
+ [gui] added suppoort of macvlan
|
+ [gui] added support of macvlan
|
||||||
+ [gui] added ability to remove profile
|
+ [gui] added ability to remove profile
|
||||||
+ [gui] added support of hidden wifi network
|
+ [gui] added support of hidden wifi network
|
||||||
+ [gui] added contextual menu to tables
|
+ [gui] added contextual menu to tables
|
||||||
@ -16,6 +16,7 @@ Ver.1.2.0:
|
|||||||
+ [lib] added doxygen documentation
|
+ [lib] added doxygen documentation
|
||||||
+ [plasmoid] added dataengine configuration
|
+ [plasmoid] added dataengine configuration
|
||||||
+ [plasmoid] added about window
|
+ [plasmoid] added about window
|
||||||
|
- [gui] fix possible segfaults with null arrays (#5)
|
||||||
* [all] changes in the project architecture
|
* [all] changes in the project architecture
|
||||||
* [all] refactoring
|
* [all] refactoring
|
||||||
* [gui] more debug information
|
* [gui] more debug information
|
||||||
@ -27,7 +28,6 @@ Ver.1.2.0:
|
|||||||
* [lib] rewrited getSettingsFromProfile() function
|
* [lib] rewrited getSettingsFromProfile() function
|
||||||
* [plasmoid] edited configuration interface
|
* [plasmoid] edited configuration interface
|
||||||
* [plasmoid] changed double click event to click event
|
* [plasmoid] changed double click event to click event
|
||||||
- [gui] fix possible segfaults with null arrays (#5)
|
|
||||||
|
|
||||||
Ver.1.1.0 (netctl-1.7 update):
|
Ver.1.1.0 (netctl-1.7 update):
|
||||||
+ [gui] added frequency
|
+ [gui] added frequency
|
||||||
|
2
PKGBUILD
2
PKGBUILD
@ -15,7 +15,7 @@ optdepends=('kdebase-runtime: sudo support'
|
|||||||
'wpa_supplicant: wifi support')
|
'wpa_supplicant: wifi support')
|
||||||
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
|
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
|
||||||
install="${pkgbase}.install"
|
install="${pkgbase}.install"
|
||||||
md5sums=('e6ad580c9f7fcd593480f14cd93c471c')
|
md5sums=('1d6797070defe45ec7009cb8e4f768c9')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
rm -rf "${srcdir}/"{build-plasmoid,build-qt4,build-qt5}
|
rm -rf "${srcdir}/"{build-plasmoid,build-qt4,build-qt5}
|
||||||
|
@ -144,7 +144,7 @@ QString Netctl::getWifiInterface()
|
|||||||
interfaces.append(allInterfaces[i]);
|
interfaces.append(allInterfaces[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (interfaces.count() == 0)
|
if (interfaces.isEmpty())
|
||||||
return QString("");
|
return QString("");
|
||||||
else
|
else
|
||||||
return interfaces[0];
|
return interfaces[0];
|
||||||
|
@ -287,7 +287,7 @@ bool WpaSup::startWpaSupplicant()
|
|||||||
if (debug) qDebug() << "[WpaSup]" << "[startWpaSupplicant]" << ":" << "Could not find wpa_supplicant";
|
if (debug) qDebug() << "[WpaSup]" << "[startWpaSupplicant]" << ":" << "Could not find wpa_supplicant";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (getInterfaceList().count() == 0) {
|
if (getInterfaceList().isEmpty()) {
|
||||||
if (debug) qDebug() << "[WpaSup]" << "[startWpaSupplicant]" << ":" << "Could not find interfaces";
|
if (debug) qDebug() << "[WpaSup]" << "[startWpaSupplicant]" << ":" << "Could not find interfaces";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -343,7 +343,7 @@ QString WpaSup::getWpaCliOutput(const QString commandLine)
|
|||||||
if (debug) qDebug() << "[WpaSup]" << "[getWpaCliOutput]" << ":" << "Could not find wpa_cli";
|
if (debug) qDebug() << "[WpaSup]" << "[getWpaCliOutput]" << ":" << "Could not find wpa_cli";
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
if (getInterfaceList().count() == 0) {
|
if (getInterfaceList().isEmpty()) {
|
||||||
if (debug) qDebug() << "[WpaSup]" << "[getWpaCliOutput]" << ":" << "Could not find interfaces";
|
if (debug) qDebug() << "[WpaSup]" << "[getWpaCliOutput]" << ":" << "Could not find interfaces";
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
@ -379,9 +379,9 @@ bool WpaSup::wpaCliCall(const QString commandLine)
|
|||||||
if (debug) qDebug() << "[WpaSup]" << "[wpaCliCall]" << ":" << "Could not find wpa_cli";
|
if (debug) qDebug() << "[WpaSup]" << "[wpaCliCall]" << ":" << "Could not find wpa_cli";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (getInterfaceList().count() == 0) {
|
if (getInterfaceList().isEmpty()) {
|
||||||
if (debug) qDebug() << "[WpaSup]" << "[wpaCliCall]" << ":" << "Could not find interfaces";
|
if (debug) qDebug() << "[WpaSup]" << "[wpaCliCall]" << ":" << "Could not find interfaces";
|
||||||
return QString();
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
QProcess command;
|
QProcess command;
|
||||||
|
@ -417,7 +417,7 @@ void Netctl::connectToEngine()
|
|||||||
|
|
||||||
void Netctl::dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data)
|
void Netctl::dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data)
|
||||||
{
|
{
|
||||||
if (data.keys().count() == 0)
|
if (data.isEmpty())
|
||||||
return;
|
return;
|
||||||
QString value = data[QString("value")].toString();
|
QString value = data[QString("value")].toString();
|
||||||
if (value.isEmpty())
|
if (value.isEmpty())
|
||||||
|
Reference in New Issue
Block a user