mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:55:54 +00:00
UI: Conf: Remove unneeded code.
This commit is contained in:
parent
a74b3ceb51
commit
bb954c116b
@ -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 groupBits = 0;
|
||||
|
@ -82,8 +82,6 @@ public:
|
||||
int trafUnit() const { return m_trafUnit; }
|
||||
void setTrafUnit(int trafUnit);
|
||||
|
||||
bool speedLimit() const;
|
||||
|
||||
quint32 appGroupBits() const;
|
||||
void setAppGroupBits(quint32 groupBits);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user