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

List:       kde-commits
Subject:    branches/KDE/4.3/kdeutils/kgpg
From:       Rolf Eike Beer <kde () opensource ! sf-tec ! de>
Date:       2009-09-09 19:25:57
Message-ID: 1252524357.222479.928.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1021666 by dakon:

clean up messing around with WA_DeleteOnClose

 M  +0 -1      editor/kgpgeditor.cpp  
 M  +1 -1      keysmanager.cpp  


--- branches/KDE/4.3/kdeutils/kgpg/editor/kgpgeditor.cpp #1021665:1021666
@@ -60,7 +60,6 @@
     m_find = 0;
     m_model = model;
 
-    setAttribute(Qt::WA_DeleteOnClose, false);
     // call inits to invoke all other construction parts
     initActions();
 
--- branches/KDE/4.3/kdeutils/kgpg/keysmanager.cpp #1021665:1021666
@@ -148,6 +148,7 @@
 	goToDefaultKey->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Home));
 
 	s_kgpgEditor = new KgpgEditor(parent, imodel, Qt::Dialog, goToDefaultKey->shortcut(), true);
+	s_kgpgEditor->setAttribute(Qt::WA_DeleteOnClose, false);
 
 	// this must come after kserver, preferences, and openEditor are created
 	// because they are used to set up the tray icon context menu
@@ -537,7 +538,6 @@
 void KeysManager::slotOpenEditor()
 {
 	KgpgEditor *kgpgtxtedit = new KgpgEditor(this, imodel, Qt::Window, goToDefaultKey->shortcut());
-	kgpgtxtedit->setAttribute(Qt::WA_DeleteOnClose);
 
 	connect(kgpgtxtedit, SIGNAL(refreshImported(QStringList)), imodel, SLOT(refreshKeys(QStringList)));
 	connect(kgpgtxtedit, SIGNAL(encryptFiles(KUrl::List)), this, SIGNAL(encryptFiles(KUrl::List)));
[prev in list] [next in list] [prev in thread] [next in thread] 

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