summaryrefslogtreecommitdiffstats
path: root/ksplashml/wndmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksplashml/wndmain.cpp')
-rw-r--r--ksplashml/wndmain.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/ksplashml/wndmain.cpp b/ksplashml/wndmain.cpp
index c037438ab..5287df4cd 100644
--- a/ksplashml/wndmain.cpp
+++ b/ksplashml/wndmain.cpp
@@ -110,6 +110,7 @@ void KSplash::prepareIconList()
mCurrentAction = mActionList.first();
slotSetText( mCurrentAction->ItemText );
+ slotSetTextIndex( mActionList.find(mCurrentAction) );
slotSetPixmap( mCurrentAction->ItemPixmap );
emit progressChanged( mStep );
@@ -148,6 +149,7 @@ void KSplash::nextIcon()
if( mCurrentAction )
{
slotSetText( mCurrentAction->ItemText );
+ slotSetTextIndex( mActionList.find(mCurrentAction) );
slotSetPixmap( mCurrentAction->ItemPixmap );
emit progressChanged( ++mStep );
}
@@ -396,6 +398,12 @@ void KSplash::slotSetText( const TQString& s )
mThemeEngine->slotSetText( s );
}
+void KSplash::slotSetTextIndex( const int i )
+{
+ if( mThemeEngine )
+ mThemeEngine->slotSetTextIndex( i );
+}
+
void KSplash::slotSetPixmap( const TQString& px )
{
if( mThemeEngine )