mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-26 03:59:56 +00:00
added settings functions
added const type
This commit is contained in:
@ -54,7 +54,7 @@ void EthernetWidget::clear()
|
||||
}
|
||||
|
||||
|
||||
void EthernetWidget::setShown(bool state)
|
||||
void EthernetWidget::setShown(const bool state)
|
||||
{
|
||||
if (state)
|
||||
show();
|
||||
@ -96,7 +96,7 @@ void EthernetWidget::showAdvanced()
|
||||
}
|
||||
|
||||
|
||||
void EthernetWidget::showWpa(int state)
|
||||
void EthernetWidget::showWpa(const int state)
|
||||
{
|
||||
if (state == 0)
|
||||
ui->widget_wpa->setHidden(true);
|
||||
|
Reference in New Issue
Block a user