From 8231cc23f3e8b266a6b0e229865905233e867cbf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Jul 2014 19:51:30 -0500 Subject: Fix korgac abort on startup due to oversized tray icon creation when icon widget has not yet been shown Properly print caldav/carddav wallet warnings to prevent backtrace spew --- korganizer/korgac/alarmdockwindow.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'korganizer/korgac/alarmdockwindow.h') diff --git a/korganizer/korgac/alarmdockwindow.h b/korganizer/korgac/alarmdockwindow.h index 6f317fda8..6f6cd7bdb 100644 --- a/korganizer/korgac/alarmdockwindow.h +++ b/korganizer/korgac/alarmdockwindow.h @@ -52,12 +52,16 @@ class AlarmDockWindow : public KSystemTray void mousePressEvent( TQMouseEvent * ); // void closeEvent( TQCloseEvent * ); void resizeEvent ( TQResizeEvent * ); + void showEvent ( TQShowEvent * ); protected slots: void slotQuit(); void slotSuspendAll(); void slotDismissAll(); + private: + void resizeTrayIcon(); + private: TQPixmap mPixmapEnabled; TQPixmap mPixmapDisabled; -- cgit v1.2.1