summaryrefslogtreecommitdiffstats
path: root/src/knemod/interfacetray.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-10 03:02:44 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-10 03:02:44 +0000
commit301036d85a5e6404941e296263c6faaa47eb18b1 (patch)
tree69bddadf5eaab03a1638fefd027503d05274bb37 /src/knemod/interfacetray.cpp
parent5c528607a9fc462f07fd1b3142b18a66e9abc2b2 (diff)
downloadknemo-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.cpp6
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() ) )