|
|
|
|
@ -654,9 +654,9 @@ KSMServer::KSMServer(InitFlags flags) |
|
|
|
|
display.remove(QRegularExpression(QStringLiteral("\\.[0-9]+$"))); |
|
|
|
|
int i; |
|
|
|
|
while( (i = display.indexOf(QLatin1Char(':'))) >= 0) |
|
|
|
|
display[i] = '_'; |
|
|
|
|
display[i] = QLatin1Char('_'); |
|
|
|
|
while( (i = display.indexOf(QLatin1Char('/'))) >= 0) |
|
|
|
|
display[i] = '_'; |
|
|
|
|
display[i] = QLatin1Char('_'); |
|
|
|
|
|
|
|
|
|
fName += '_'+display.toLocal8Bit(); |
|
|
|
|
FILE *f; |
|
|
|
|
@ -738,9 +738,9 @@ void KSMServer::cleanUp() |
|
|
|
|
display.remove(QRegularExpression(QStringLiteral("\\.[0-9]+$"))); |
|
|
|
|
int i; |
|
|
|
|
while( (i = display.indexOf(QLatin1Char(':'))) >= 0) |
|
|
|
|
display[i] = '_'; |
|
|
|
|
display[i] = QLatin1Char('_'); |
|
|
|
|
while( (i = display.indexOf(QLatin1Char('/'))) >= 0) |
|
|
|
|
display[i] = '_'; |
|
|
|
|
display[i] = QLatin1Char('_'); |
|
|
|
|
|
|
|
|
|
fName += '_'+display.toLocal8Bit(); |
|
|
|
|
::unlink(fName.data()); |
|
|
|
|
|