mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
kcontrol: fix some compiler warnings in font installer slave
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
859705d8fa
commit
c1e6ba7aca
1 changed files with 2 additions and 2 deletions
|
@ -59,14 +59,14 @@ KDE_EXPORT int kdemain(int argc, char **argv)
|
||||||
{
|
{
|
||||||
if (argc != 4)
|
if (argc != 4)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Usage: kio_"KFI_KIO_FONTS_PROTOCOL
|
fprintf(stderr, "Usage: kio_" KFI_KIO_FONTS_PROTOCOL
|
||||||
" protocol domain-socket1 domain-socket2\n");
|
" protocol domain-socket1 domain-socket2\n");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
KLocale::setMainCatalog(KFI_CATALOGUE);
|
KLocale::setMainCatalog(KFI_CATALOGUE);
|
||||||
|
|
||||||
KComponentData componentData("kio_"KFI_KIO_FONTS_PROTOCOL);
|
KComponentData componentData("kio_" KFI_KIO_FONTS_PROTOCOL);
|
||||||
KFI::CKioFonts slave(argv[2], argv[3]);
|
KFI::CKioFonts slave(argv[2], argv[3]);
|
||||||
QCoreApplication app(argc, argv);
|
QCoreApplication app(argc, argv);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue