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 {