From 41e3625b8c38ff45e70b59416a519d59a5f4d937 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Fri, 29 Oct 2004 05:20:48 +0000 Subject: display alternating category text in the add/edit dialogbox --- (limited to 'pwmanager/pwmanager/pwm.cpp') diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index bd98d72..9642a43 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp @@ -633,7 +633,7 @@ void PwM::addPwd_slot1(QString *pw, PwMDoc *_doc) #ifndef PWM_EMBEDDED AddEntryWndImpl w; #else - AddEntryWndImpl w(this, "addentrywndimpl"); + AddEntryWndImpl w(doc, this, "addentrywndimpl"); #endif vector catList; @@ -732,7 +732,7 @@ void PwM::editPwd_slot3(const QString *category, const int *index, } BUG_ON(currItem.binary); - AddEntryWndImpl w; + AddEntryWndImpl w(doc); vector catList; doc->getCategoryList(&catList); unsigned i, size = catList.size(); -- cgit v0.9.0.2