summaryrefslogtreecommitdiff
authorzecke <zecke>2004-10-17 18:34:36 (UTC)
committer zecke <zecke>2004-10-17 18:34:36 (UTC)
commitca65f8eba5cd7e3a2e3096b545527ced8b76e5cd (patch) (side-by-side diff)
tree96b742d6b8f1322158cdc66a8b3f8357d73ac571
parent8eaae40a6b9db12813be60ec7c8afe21afd4478d (diff)
downloadopie-ca65f8eba5cd7e3a2e3096b545527ced8b76e5cd.zip
opie-ca65f8eba5cd7e3a2e3096b545527ced8b76e5cd.tar.gz
opie-ca65f8eba5cd7e3a2e3096b545527ced8b76e5cd.tar.bz2
-Use local8Bit instead of latin1
Diffstat (more/less context) (show 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
@@ -729,49 +729,49 @@ void ServerApplication::shutdown( ShutdownImpl::Type t )
}
void ServerApplication::restart()
{
if ( allowRestart ) {
/*
* Applets and restart is a problem. Some applets delete
* their widgets even if ownership gets transfered to the
* parent (Systray ) but deleting the applet may be unsafe
* as well ( double deletion ). Some have topLevel widgets
* and when we dlclose and then delete the widget we will
* crash and an crash during restart is not nice
*/
#ifdef ALL_APPLETS_ON_THIS_WORLD_ARE_FIXED
/* same as above */
emit aboutToQuit();
prepareForTermination(TRUE);
doRestart = TRUE;
quit();
#else
prepareForTermination( true );
for ( int fd = 3; fd < 100; fd++ )
close( fd );
- execl( ( qpeDir() + "/bin/qpe" ).latin1(), "qpe", 0 );
+ execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL );
exit( 1 );
#endif
}
}
void ServerApplication::rereadVolumes()
{
Config cfg( "qpe" );
cfg. setGroup ( "Volume" );
m_screentap_sound = cfg. readBoolEntry ( "TouchSound" );
m_keyclick_sound = cfg. readBoolEntry ( "KeySound" );
m_alarm_sound = cfg. readBoolEntry ( "AlarmSound" );
}
void ServerApplication::checkMemory()
{
#if defined(QPE_HAVE_MEMALERTER)
static bool ignoreNormal=TRUE;
static bool existingMessage=FALSE;
if(existingMessage)
return; // don't show a second message while still on first