mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-10-15 01:19:56 +00:00
added settings functions
added const type
This commit is contained in:
@ -43,7 +43,7 @@ void TunnelWidget::clear()
|
||||
}
|
||||
|
||||
|
||||
void TunnelWidget::setShown(bool state)
|
||||
void TunnelWidget::setShown(const bool state)
|
||||
{
|
||||
if (state)
|
||||
show();
|
||||
@ -61,7 +61,7 @@ void TunnelWidget::createFilter()
|
||||
}
|
||||
|
||||
|
||||
QString TunnelWidget::getIp(QString rawIp)
|
||||
QString TunnelWidget::getIp(const QString rawIp)
|
||||
{
|
||||
QStringList ip = rawIp.split(QString("."));
|
||||
|
||||
|
Reference in New Issue
Block a user