From c036d97d35d25c4511d9569d40c1de07dab96bb6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 7 Aug 2015 17:06:29 +0900 Subject: Fixed KAlarm building warnings. Minor style patch up. Fixed possible error in treating deferred evens (see kalarm/alarmevent.cpp:1739). Signed-off-by: Michele Calgaro --- kalarm/traywindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kalarm/traywindow.cpp') diff --git a/kalarm/traywindow.cpp b/kalarm/traywindow.cpp index 7eb6d2a4..93afa2e5 100644 --- a/kalarm/traywindow.cpp +++ b/kalarm/traywindow.cpp @@ -95,7 +95,7 @@ TrayWindow::TrayWindow(MainWindow* parent, const char* name) // Replace the default handler for the Quit context menu item const char* quitName = KStdAction::name(KStdAction::Quit); actcol->remove(actcol->action(quitName)); - actcol->accel()->remove(quitName); + actcol->tdeaccel()->remove(quitName); KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotQuit()), actcol); // Set icon to correspond with the alarms enabled menu status -- cgit v1.2.3