-rw-r--r-- | pwmanager/pwmanager/pwm.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index bd07c80..cd56399 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp | |||
@@ -204,7 +204,9 @@ void PwM::initMenubar() | |||
204 | #endif // CONFIG_KEYCARD | 204 | #endif // CONFIG_KEYCARD |
205 | viewPopup = new KPopupMenu(this); | 205 | viewPopup = new KPopupMenu(this); |
206 | optionsPopup = new KPopupMenu(this); | 206 | optionsPopup = new KPopupMenu(this); |
207 | 207 | #ifdef PWM_EMBEDDED | |
208 | syncPopup = new KPopupMenu(this); | ||
209 | #endif | ||
208 | // "file" popup menu | 210 | // "file" popup menu |
209 | filePopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)), | 211 | filePopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)), |
210 | i18n("&New"), this, | 212 | i18n("&New"), this, |
@@ -327,6 +329,19 @@ void PwM::initMenubar() | |||
327 | #ifndef PWM_EMBEDDED | 329 | #ifndef PWM_EMBEDDED |
328 | helpPopup = helpMenu(QString::null, false); | 330 | helpPopup = helpMenu(QString::null, false); |
329 | #else | 331 | #else |
332 | Popup->insertItem(QIconSet(picons->loadIcon("configure", KIcon::Small)), | ||
333 | i18n("&Configure..."), this, | ||
334 | SLOT(config_slot()), | ||
335 | BUTTON_POPUP_OPTIONS_CONFIG); | ||
336 | connect ( syncMenu, SIGNAL( activated ( int ) ), this, SLOT (slotSyncMenu( int ) ) ); | ||
337 | fillSyncMenu(); | ||
338 | |||
339 | menuBar()->insertItem(i18n("&Syncronize"), syncPopup); | ||
340 | |||
341 | |||
342 | |||
343 | |||
344 | |||
330 | helpPopup = new KPopupMenu(this); | 345 | helpPopup = new KPopupMenu(this); |
331 | 346 | ||
332 | 347 | ||