[PC-BSD Commits] r21900 - pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager

svn at pcbsd.org svn at pcbsd.org
Tue Mar 19 05:14:03 PDT 2013


Author: yurkis
Date: 2013-03-19 12:14:03 +0000 (Tue, 19 Mar 2013)
New Revision: 21900

Modified:
   pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/networkman.cpp
Log:
Enabling 'save' button if need when select public DNS server from list

Modified: pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/networkman.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/networkman.cpp	2013-03-19 11:29:34 UTC (rev 21899)
+++ pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/networkman.cpp	2013-03-19 12:14:03 UTC (rev 21900)
@@ -1032,7 +1032,10 @@
     DNSList* dlg=new DNSList (this);
     QString ip;
     if ( QDialog::Accepted == dlg->getIP(DNSList::eIPV4, ip))
+    {
         lineDNS1->setText(ip);
+        slotCheckGlobalText();
+    }
 }
 
 void NetworkMan::slotPublicDNS2Clicked()
@@ -1040,7 +1043,10 @@
     DNSList* dlg=new DNSList (this);
     QString ip;
     if ( QDialog::Accepted == dlg->getIP(DNSList::eIPV4, ip))
+    {
         lineDNS2->setText(ip);
+        slotCheckGlobalText();
+    }
 }
 
 void NetworkMan::slotIPV6DNS1Clicked()
@@ -1048,7 +1054,10 @@
     DNSList* dlg=new DNSList (this);
     QString ip;
     if ( QDialog::Accepted == dlg->getIP(DNSList::eIPV6, ip))
+    {
         lineIPv6DNS1->setText(ip);
+        slotCheckGlobalText();
+    }
 }
 
 void NetworkMan::slotIPV6DNS2Clicked()
@@ -1056,5 +1065,8 @@
     DNSList* dlg=new DNSList (this);
     QString ip;
     if ( QDialog::Accepted == dlg->getIP(DNSList::eIPV6, ip))
+    {
         lineIPv6DNS2->setText(ip);
+        slotCheckGlobalText();
+    }
 }



More information about the Commits mailing list