diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-05-10 03:02:44 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-05-10 03:02:44 +0000 |
commit | 301036d85a5e6404941e296263c6faaa47eb18b1 (patch) | |
tree | 69bddadf5eaab03a1638fefd027503d05274bb37 /src/knemod/interfacetray.cpp | |
parent | 5c528607a9fc462f07fd1b3142b18a66e9abc2b2 (diff) | |
download | knemo-301036d85a5e6404941e296263c6faaa47eb18b1.tar.gz knemo-301036d85a5e6404941e296263c6faaa47eb18b1.zip |
Part of batch commit to enable true tasktray resize support for Trinity applications
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knemo@1124764 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knemod/interfacetray.cpp')
-rw-r--r-- | src/knemod/interfacetray.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/knemod/interfacetray.cpp b/src/knemod/interfacetray.cpp index 5e2e154..c8ab03a 100644 --- a/src/knemod/interfacetray.cpp +++ b/src/knemod/interfacetray.cpp @@ -65,6 +65,12 @@ InterfaceTray::~InterfaceTray() { } +void InterfaceTray::resizeEvent ( QResizeEvent * ) +{ + // Honor Free Desktop specifications that allow for arbitrary system tray icon sizes + emit iconResized(); +} + void InterfaceTray::mousePressEvent( QMouseEvent* e ) { if ( !rect().contains( e->pos() ) ) |