File indexing completed on 2025-01-12 05:02:01

0001 /*
0002     SPDX-FileCopyrightText: 2003-2009 Craig Drummond <craig@kde.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #include "FontInst.h"
0007 #include "Misc.h"
0008 #include <QCoreApplication>
0009 
0010 int main(int argc, char *argv[])
0011 {
0012     // KJob uses a QEventLoopLocker which causes kfontinst to quit
0013     // after the job is done, prevent this by disabling quit lock.
0014     QCoreApplication::setQuitLockEnabled(false);
0015 
0016     QCoreApplication *app = new QCoreApplication(argc, argv);
0017     KFI::FontInst fi;
0018 
0019     int rv = app->exec();
0020     delete app;
0021     return rv;
0022 }