summaryrefslogtreecommitdiffstats
path: root/adept/notifier/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adept/notifier/app.cpp')
-rw-r--r--adept/notifier/app.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/adept/notifier/app.cpp b/adept/notifier/app.cpp
index 9b9ffce..370ea59 100644
--- a/adept/notifier/app.cpp
+++ b/adept/notifier/app.cpp
@@ -69,9 +69,9 @@ void TrayWindow::setAvailableUpdates( int n )
kdDebug() << "TrayWindow obtained " << n << endl;
if ( m_updates == 0 ) {
- if (isShown()) {
- setPixmap(loadSizedIcon( u8( "adept_notifier_ok" ), width() ));
- }
+ setPixmap( isShown() ?
+ loadSizedIcon( u8( "adept_notifier_ok" ), width() ) :
+ loadIcon( u8( "adept_notifier_ok" ) ));
hide();
}
else {