summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr/tderandrtray.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-07-07 11:37:01 -0500
committerTimothy Pearson <[email protected]>2014-07-07 11:37:01 -0500
commit6ee99456cc9fbcf6a6f61e4dd293a6cf438075a5 (patch)
treecc8482d2619026592bc68e905bc3e5374e3a204c /kcontrol/randr/tderandrtray.h
parent88bcfba011fddfce00ff48f2162b8b6ebffcdea8 (diff)
downloadtdebase-6ee99456cc9fbcf6a6f61e4dd293a6cf438075a5.tar.gz
tdebase-6ee99456cc9fbcf6a6f61e4dd293a6cf438075a5.zip
Fix tderandrtray abort on startup due to oversized tray icon creation when icon widget has not yet been shown
Diffstat (limited to 'kcontrol/randr/tderandrtray.h')
-rw-r--r--kcontrol/randr/tderandrtray.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kcontrol/randr/tderandrtray.h b/kcontrol/randr/tderandrtray.h
index 542570619..09a1b2671 100644
--- a/kcontrol/randr/tderandrtray.h
+++ b/kcontrol/randr/tderandrtray.h
@@ -63,6 +63,7 @@ protected slots:
protected:
void mousePressEvent( TQMouseEvent *e );
void resizeEvent ( TQResizeEvent * );
+ void showEvent ( TQShowEvent * );
private:
void populateMenu(TDEPopupMenu* menu);
@@ -71,6 +72,7 @@ private:
int GetHackResolutionParameter();
void findPrimaryDisplay();
void reloadDisplayConfiguration();
+ void resizeTrayIcon();
bool m_popupUp;
KHelpMenu* m_help;