UI: Conf: Remove unneeded code.

This commit is contained in:
Nodir Temirkhodjaev 2018-01-04 19:01:25 +05:00
parent a74b3ceb51
commit bb954c116b
2 changed files with 0 additions and 13 deletions

View File

@ -118,17 +118,6 @@ void FirewallConf::setTrafUnit(int trafUnit)
} }
} }
bool FirewallConf::speedLimit() const
{
foreach (const AppGroup *appGroup, appGroupsList()) {
if (appGroup->enabled()
&& ((appGroup->limitInEnabled() && appGroup->speedLimitIn())
|| (appGroup->limitOutEnabled() && appGroup->speedLimitOut())))
return true;
}
return false;
}
quint32 FirewallConf::appGroupBits() const quint32 FirewallConf::appGroupBits() const
{ {
quint32 groupBits = 0; quint32 groupBits = 0;

View File

@ -82,8 +82,6 @@ public:
int trafUnit() const { return m_trafUnit; } int trafUnit() const { return m_trafUnit; }
void setTrafUnit(int trafUnit); void setTrafUnit(int trafUnit);
bool speedLimit() const;
quint32 appGroupBits() const; quint32 appGroupBits() const;
void setAppGroupBits(quint32 groupBits); void setAppGroupBits(quint32 groupBits);