summaryrefslogtreecommitdiff
path: root/noncore/settings
Unidiff
Diffstat (limited to 'noncore/settings') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sshkeys/sshkeys.cpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/noncore/settings/sshkeys/sshkeys.cpp b/noncore/settings/sshkeys/sshkeys.cpp
index d8b1014..57118c9 100644
--- a/noncore/settings/sshkeys/sshkeys.cpp
+++ b/noncore/settings/sshkeys/sshkeys.cpp
@@ -40,7 +40,6 @@
40using namespace Opie::Core; 40using namespace Opie::Core;
41static char *keynames[] = { "identity", "id_rsa", "id_dsa" }; 41static const char *keynames[] = { "identity", "id_rsa", "id_dsa" };
42 42
43SSHKeysApp::SSHKeysApp( QWidget* parent, const char* name, WFlags fl ) 43
44 : SSHKeysBase( parent, name, fl ) 44static void detachTerminal() {
45{
46 /* If we had a controlling TTY, detach from it. 45 /* If we had a controlling TTY, detach from it.
@@ -52,2 +51,10 @@ SSHKeysApp::SSHKeysApp( QWidget* parent, const char* name, WFlags fl )
52 } 51 }
52}
53
54
55SSHKeysApp::SSHKeysApp( QWidget* parent, const char* name, WFlags fl )
56 : SSHKeysBase( parent, name, fl )
57{
58 detachTerminal();
59
53 60