diff options
Diffstat (limited to 'klipper/toplevel.cpp')
-rw-r--r-- | klipper/toplevel.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/klipper/toplevel.cpp b/klipper/toplevel.cpp index 3d9067aab..ec8dec11a 100644 --- a/klipper/toplevel.cpp +++ b/klipper/toplevel.cpp @@ -196,7 +196,12 @@ KlipperWidget::KlipperWidget( TQWidget *parent, KConfig* config ) connect( poll, TQT_SIGNAL( clipboardChanged( bool ) ), this, TQT_SLOT( newClipData( bool ) ) ); - m_pixmap = KSystemTray::loadSizedIcon( "klipper", width() ); + if ( isApplet() ) { + m_pixmap = KSystemTray::loadIcon( "klipper" ); + } + else { + m_pixmap = KSystemTray::loadSizedIcon( "klipper", width() ); + } m_iconOrigWidth = width(); m_iconOrigHeight = height(); adjustSize(); |