aboutsummaryrefslogtreecommitdiffstats
path: root/keymgmt.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-09-29 17:22:17 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-09-29 17:22:17 +0000
commitd3ce1bb3464d65722f2dbf82c266af667d356f7a (patch)
tree84170dd88cf9a523abf016bb06ed233a4a615598 /keymgmt.cpp
parentadded key management window (diff)
downloadgpg4usb-d3ce1bb3464d65722f2dbf82c266af667d356f7a.tar.gz
gpg4usb-d3ce1bb3464d65722f2dbf82c266af667d356f7a.zip
reorganized constructor of keylist
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@178 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keymgmt.cpp')
-rwxr-xr-xkeymgmt.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/keymgmt.cpp b/keymgmt.cpp
index d666bf1..cac5912 100755
--- a/keymgmt.cpp
+++ b/keymgmt.cpp
@@ -31,9 +31,7 @@ KeyMgmt::KeyMgmt(GpgME::Context *ctx, QString iconpath)
resize(640, 400);
/* the list of Keys available*/
- m_keyList = new KeyList();
- m_keyList->setIconPath(mIconPath);
- m_keyList->setContext(mCtx);
+ m_keyList = new KeyList(mCtx, mIconPath);
m_keyList->setColumnWidth(2,250);
m_keyList->setColumnWidth(3,250);
setCentralWidget(m_keyList);