Make sure to convert TQCString to const char* when passing it to a variadic function (printf).

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 13f8697e0f)
r14.0.x
Michele Calgaro 2 years ago
parent 384349606b
commit ca2803d785
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -313,7 +313,7 @@ kg_main( const char *argv0 )
iccCommand += TQString(" %1 &").arg(iccconfig.readEntry("ICCFile"));
if (system(iccCommand.local8Bit()) < 0)
{
printf("WARNING: Unable to execute command \"%s\"\n", iccCommand.local8Bit());
printf("WARNING: Unable to execute command \"%s\"\n", iccCommand.local8Bit().data());
}
}
}

Loading…
Cancel
Save