summaryrefslogtreecommitdiff
path: root/core/launcher/serverapp.cpp
Unidiff
Diffstat (limited to 'core/launcher/serverapp.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/serverapp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp
index 0e92040..b933340 100644
--- a/core/launcher/serverapp.cpp
+++ b/core/launcher/serverapp.cpp
@@ -754,24 +754,25 @@ void ServerApplication::restart()
754 */ 754 */
755#ifdef ALL_APPLETS_ON_THIS_WORLD_ARE_FIXED 755#ifdef ALL_APPLETS_ON_THIS_WORLD_ARE_FIXED
756 /* same as above */ 756 /* same as above */
757 emit aboutToQuit(); 757 emit aboutToQuit();
758 prepareForTermination(TRUE); 758 prepareForTermination(TRUE);
759 doRestart = TRUE; 759 doRestart = TRUE;
760 quit(); 760 quit();
761#else 761#else
762 prepareForTermination( true ); 762 prepareForTermination( true );
763 for ( int fd = 3; fd < 100; fd++ ) 763 for ( int fd = 3; fd < 100; fd++ )
764 close( fd ); 764 close( fd );
765 execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL ); 765 execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL );
766 execl( OPIE_BINDIR "/qpe", "qpe", NULL );
766 exit( 1 ); 767 exit( 1 );
767#endif 768#endif
768 } 769 }
769} 770}
770 771
771void ServerApplication::rereadVolumes() 772void ServerApplication::rereadVolumes()
772{ 773{
773 Config cfg( "qpe" ); 774 Config cfg( "qpe" );
774 cfg. setGroup ( "Volume" ); 775 cfg. setGroup ( "Volume" );
775 776
776 m_screentap_sound = cfg. readBoolEntry ( "TouchSound" ); 777 m_screentap_sound = cfg. readBoolEntry ( "TouchSound" );
777 m_keyclick_sound = cfg. readBoolEntry ( "KeySound" ); 778 m_keyclick_sound = cfg. readBoolEntry ( "KeySound" );