Ignore:
Timestamp:
04/16/13 07:59:40 (20 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
470af24a
Parents:
17235d6
Message:

Update edit IP dialog to understand many of the new options in warden
backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/warden-gui/dialogwarden.cpp

    rf66423f r8901c47  
    14551455     return; 
    14561456 
    1457    QString IPs; 
    1458  
    1459    for (int i=0; i < jailDetails.count(); ++i) { 
    1460      if ( jailDetails.at(i).at(0) != listJails->currentItem()->text(0) ) 
    1461         continue; 
    1462      IPs = jailDetails.at(i).at(3); 
    1463      if ( jailDetails.at(i).at(1) == "Pending" ) 
    1464         return; 
    1465      break; 
    1466    } 
    1467    
    1468  
    14691457   dIP = new dialogEditIP(); 
    14701458   connect(dIP, SIGNAL(saved()),this, SLOT(slotMonitorJailDetails()) ); 
    1471    if ( IPs.isEmpty() ) 
    1472       dIP->programInit(listJails->currentItem()->text(0), QStringList() ); 
    1473    else 
    1474       dIP->programInit(listJails->currentItem()->text(0), IPs.split(" ") ); 
     1459   dIP->programInit(listJails->currentItem()->text(0)); 
    14751460   dIP->exec(); 
    14761461 
Note: See TracChangeset for help on using the changeset viewer.