Merge branch 'Applications/17.08'

remotes/origin/Applications/17.12
Elvis Angelaccio 9 years ago
commit ca12fe50d5
  1. 3
      ui/searchlineedit.cpp

@ -18,6 +18,7 @@
#include <qlayout.h> #include <qlayout.h>
#include <qtimer.h> #include <qtimer.h>
#include <kcolorscheme.h> #include <kcolorscheme.h>
#include <kiconloader.h>
#include <kpixmapsequence.h> #include <kpixmapsequence.h>
#include <kpixmapsequencewidget.h> #include <kpixmapsequencewidget.h>
#include <kmessagebox.h> #include <kmessagebox.h>
@ -318,7 +319,7 @@ void SearchLineWidget::slotTimedout()
{ {
if ( m_anim->sequence().isEmpty() ) if ( m_anim->sequence().isEmpty() )
{ {
const KPixmapSequence seq( QStringLiteral("process-working"), 22 ); const KPixmapSequence seq = KIconLoader::global()->loadPixmapSequence(QStringLiteral("process-working"), 22);
if ( seq.frameCount() > 0 ) if ( seq.frameCount() > 0 )
{ {
m_anim->setInterval( 1000 / seq.frameCount() ); m_anim->setInterval( 1000 / seq.frameCount() );

Loading…
Cancel
Save