route delete fixed (Windows)
This commit is contained in:
parent
d831d68e73
commit
c2f6c7d939
10 changed files with 24 additions and 15 deletions
|
|
@ -34,10 +34,10 @@ bool Router::clearSavedRoutes()
|
|||
#endif
|
||||
}
|
||||
|
||||
bool Router::routeDelete(const QString &ip)
|
||||
bool Router::routeDelete(const QString &ip, const QString &gw)
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
return RouterWin::Instance().routeDelete(ip);
|
||||
return RouterWin::Instance().routeDelete(ip, gw);
|
||||
#elif defined (Q_OS_MAC)
|
||||
return RouterMac::Instance().routeDelete(ip);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue