summaryrefslogtreecommitdiff
authorzecke <zecke>2004-10-17 18:34:36 (UTC)
committer zecke <zecke>2004-10-17 18:34:36 (UTC)
commitca65f8eba5cd7e3a2e3096b545527ced8b76e5cd (patch) (unidiff)
tree96b742d6b8f1322158cdc66a8b3f8357d73ac571
parent8eaae40a6b9db12813be60ec7c8afe21afd4478d (diff)
downloadopie-ca65f8eba5cd7e3a2e3096b545527ced8b76e5cd.zip
opie-ca65f8eba5cd7e3a2e3096b545527ced8b76e5cd.tar.gz
opie-ca65f8eba5cd7e3a2e3096b545527ced8b76e5cd.tar.bz2
-Use local8Bit instead of latin1
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/serverapp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp
index e541d10..be6b972 100644
--- a/core/launcher/serverapp.cpp
+++ b/core/launcher/serverapp.cpp
@@ -737,33 +737,33 @@ void ServerApplication::restart()
737 * their widgets even if ownership gets transfered to the 737 * their widgets even if ownership gets transfered to the
738 * parent (Systray ) but deleting the applet may be unsafe 738 * parent (Systray ) but deleting the applet may be unsafe
739 * as well ( double deletion ). Some have topLevel widgets 739 * as well ( double deletion ). Some have topLevel widgets
740 * and when we dlclose and then delete the widget we will 740 * and when we dlclose and then delete the widget we will
741 * crash and an crash during restart is not nice 741 * crash and an crash during restart is not nice
742 */ 742 */
743#ifdef ALL_APPLETS_ON_THIS_WORLD_ARE_FIXED 743#ifdef ALL_APPLETS_ON_THIS_WORLD_ARE_FIXED
744 /* same as above */ 744 /* same as above */
745 emit aboutToQuit(); 745 emit aboutToQuit();
746 prepareForTermination(TRUE); 746 prepareForTermination(TRUE);
747 doRestart = TRUE; 747 doRestart = TRUE;
748 quit(); 748 quit();
749#else 749#else
750 prepareForTermination( true ); 750 prepareForTermination( true );
751 for ( int fd = 3; fd < 100; fd++ ) 751 for ( int fd = 3; fd < 100; fd++ )
752 close( fd ); 752 close( fd );
753 execl( ( qpeDir() + "/bin/qpe" ).latin1(), "qpe", 0 ); 753 execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL );
754 exit( 1 ); 754 exit( 1 );
755#endif 755#endif
756 } 756 }
757} 757}
758 758
759void ServerApplication::rereadVolumes() 759void ServerApplication::rereadVolumes()
760{ 760{
761 Config cfg( "qpe" ); 761 Config cfg( "qpe" );
762 cfg. setGroup ( "Volume" ); 762 cfg. setGroup ( "Volume" );
763 763
764 m_screentap_sound = cfg. readBoolEntry ( "TouchSound" ); 764 m_screentap_sound = cfg. readBoolEntry ( "TouchSound" );
765 m_keyclick_sound = cfg. readBoolEntry ( "KeySound" ); 765 m_keyclick_sound = cfg. readBoolEntry ( "KeySound" );
766 m_alarm_sound = cfg. readBoolEntry ( "AlarmSound" ); 766 m_alarm_sound = cfg. readBoolEntry ( "AlarmSound" );
767} 767}
768 768
769 769