-rw-r--r-- | noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp b/noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp index 271bb78..15293fd 100644 --- a/noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp +++ b/noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp | |||
@@ -40,33 +40,33 @@ void InterfaceInformationImp::updateInterface(Interface *){ | |||
40 | else{ | 40 | else{ |
41 | startButton->setEnabled(true); | 41 | startButton->setEnabled(true); |
42 | stopButton->setEnabled(false); | 42 | stopButton->setEnabled(false); |
43 | restartButton->setEnabled(false); | 43 | restartButton->setEnabled(false); |
44 | } | 44 | } |
45 | macAddressLabel->setText(interface->getMacAddress()); | 45 | macAddressLabel->setText(interface->getMacAddress()); |
46 | ipAddressLabel->setText(interface->getIp()); | 46 | ipAddressLabel->setText(interface->getIp()); |
47 | subnetMaskLabel->setText(interface->getSubnetMask()); | 47 | subnetMaskLabel->setText(interface->getSubnetMask()); |
48 | broadcastLabel->setText(interface->getBroadcast()); | 48 | broadcastLabel->setText(interface->getBroadcast()); |
49 | } | 49 | } |
50 | 50 | ||
51 | /** | 51 | /** |
52 | * Create the advanced widget. Fill it with the current interface's information. | 52 | * Create the advanced widget. Fill it with the current interface's information. |
53 | * Display it. | 53 | * Display it. |
54 | */ | 54 | */ |
55 | void InterfaceInformationImp::advanced(){ | 55 | void InterfaceInformationImp::advanced(){ |
56 | InterfaceAdvanced *a = new InterfaceAdvanced(this, "InterfaceAdvanced", Qt::WShowModal | Qt::WDestructiveClose | Qt::WType_Dialog); | 56 | InterfaceAdvanced *a = new InterfaceAdvanced(this, "InterfaceAdvanced", Qt::WType_Modal | Qt::WDestructiveClose | Qt::WStyle_Dialog); |
57 | a->interfaceName->setText(interface->getInterfaceName()); | 57 | a->interfaceName->setText(interface->getInterfaceName()); |
58 | a->macAddressLabel->setText(interface->getMacAddress()); | 58 | a->macAddressLabel->setText(interface->getMacAddress()); |
59 | a->ipAddressLabel->setText(interface->getIp()); | 59 | a->ipAddressLabel->setText(interface->getIp()); |
60 | a->subnetMaskLabel->setText(interface->getSubnetMask()); | 60 | a->subnetMaskLabel->setText(interface->getSubnetMask()); |
61 | a->broadcastLabel->setText(interface->getBroadcast()); | 61 | a->broadcastLabel->setText(interface->getBroadcast()); |
62 | a->dhcpServerLabel->setText(interface->getDhcpServerIp()); | 62 | a->dhcpServerLabel->setText(interface->getDhcpServerIp()); |
63 | a->leaseObtainedLabel->setText(interface->getLeaseObtained()); | 63 | a->leaseObtainedLabel->setText(interface->getLeaseObtained()); |
64 | a->leaseExpiresLabel->setText(interface->getLeaseExpires()); | 64 | a->leaseExpiresLabel->setText(interface->getLeaseExpires()); |
65 | a->dhcpInformation->setEnabled(interface->isDhcp()); | 65 | a->dhcpInformation->setEnabled(interface->isDhcp()); |
66 | a->showMaximized(); | 66 | a->showMaximized(); |
67 | } | 67 | } |
68 | 68 | ||
69 | /** | 69 | /** |
70 | * Messages from the interface if start/stop went as planned. | 70 | * Messages from the interface if start/stop went as planned. |
71 | * Purly for user feedback. | 71 | * Purly for user feedback. |
72 | * @param message the message to display. | 72 | * @param message the message to display. |