summaryrefslogtreecommitdiffstats
path: root/src/knemod/interfacetray.cpp
diff options
context:
space:
mode:
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() ) )