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

@ -65,7 +65,7 @@ void PppoeWidget::clear()
}
void PppoeWidget::setShown(bool state)
void PppoeWidget::setShown(const bool state)
{
if (state)
show();
@ -91,7 +91,7 @@ void PppoeWidget::createActions()
}
void PppoeWidget::changeMode(QString currentText)
void PppoeWidget::changeMode(const QString currentText)
{
if (currentText == QString("persist"))
ui->widget_timeout->setHidden(true);