[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeadmin/kuser
From:       Szombathelyi György <gyurco () freemail ! hu>
Date:       2004-07-06 20:55:44
Message-ID: 20040706205544.ED3DF98EA () office ! kde ! org
[Download RAW message or body]

CVS commit by gyurco: 

Get confirmation before deleteing a connection.


  M +3 -0      selectconn.cpp   1.6


--- kdeadmin/kuser/selectconn.cpp  #1.5:1.6
@@ -120,4 +120,7 @@ void SelectConn::slotUser1()
 {
   QString conn = connSelected();
+  if ( KMessageBox::questionYesNo( 0, i18n("Do you really want to delete the connection '%1' ?").
+    arg( conn ) ) == KMessageBox::No ) return;
+
   kapp->sharedConfig()->deleteGroup( "connection-" + conn, true );
   kapp->sharedConfig()->sync();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic