You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
554 B
22 lines
554 B
/* |
|
SPDX-FileCopyrightText: 2003-2009 Craig Drummond <craig@kde.org> |
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#include "FontInst.h" |
|
#include "Misc.h" |
|
#include <QCoreApplication> |
|
|
|
int main(int argc, char *argv[]) |
|
{ |
|
// KJob uses a QEventLoopLocker which causes kfontinst to quit |
|
// after the job is done, prevent this by disabling quit lock. |
|
QCoreApplication::setQuitLockEnabled(false); |
|
|
|
QCoreApplication *app = new QCoreApplication(argc, argv); |
|
KFI::FontInst fi; |
|
|
|
int rv = app->exec(); |
|
delete app; |
|
return rv; |
|
}
|
|
|