added settings functions

added const type
This commit is contained in:
arcan1s
2014-02-28 18:46:04 +04:00
parent fbad5a6c7d
commit 2cade97786
34 changed files with 450 additions and 187 deletions

View File

@ -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);