~mateo-salta/nitroshare/nitroshare

« back to all changes in this revision

Viewing changes to src/dialogs/CSettingsDialog.cpp

  • Committer: Nathan Osman
  • Date: 2012-06-29 22:01:55 UTC
  • Revision ID: admin@quickmediasolutions.com-20120629220155-ogwrn9fxxve9wyw1
Moved a TON of the broadcast and discovery code around, creating separate classes for each and partially implementing their use in the first start wizard.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    foreach(QNetworkInterface interface, Network::FindUsableInterfaces())
95
95
    {
96
96
        QHostAddress address;
97
 
        Network::FindIPv4Address(interface, Network::IPAddress, &address);
 
97
        Network::FindIPv4Address(interface, &address);
98
98
 
99
99
        ui->InterfaceList->addItem(tr("%1 - %2").arg(interface.humanReadableName())
100
100
                                                .arg(address.toString()),