Initialize KCrash.
This commit is contained in:
parent
92c1b2d7a2
commit
d7a77c8934
|
@ -46,7 +46,7 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
|
|||
)
|
||||
|
||||
# Load the frameworks we need
|
||||
find_package(KF5 REQUIRED
|
||||
find_package(KF5 5.15 REQUIRED
|
||||
Config
|
||||
Crash
|
||||
DocTools
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <QCommandLineParser>
|
||||
|
||||
#include <KAboutData>
|
||||
#include <KCrash>
|
||||
#include <Kdelibs4ConfigMigrator>
|
||||
#include <KMessageBox>
|
||||
#include <KLocalizedString>
|
||||
|
@ -60,6 +61,7 @@ int Q_DECL_IMPORT main(int argc, char* argv[])
|
|||
aboutData->addCredit(i18n("Hugo Pereira Da Costa"), i18nc("@info:credit", "Partition Widget Design"), QStringLiteral("hugo@oxygen-icons.org"));
|
||||
KAboutData::setApplicationData(*aboutData);
|
||||
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||
KCrash::initialize();
|
||||
|
||||
QCommandLineParser parser;
|
||||
parser.setApplicationDescription(aboutData->shortDescription());
|
||||
|
|
Loading…
Reference in New Issue