summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-04 13:51:44 +0200
committerPali Roh├ír <[email protected]>2017-12-22 09:10:28 +0100
commit2011f4b9fa25e183902b6467097fab99a8ea433e (patch)
tree57e1d8f4753a8ef3fb1d2b34e114044a469367e9
parent29996af9ff481e483301d504d2e703a5d8ee6011 (diff)
Activate kcrash
-rw-r--r--kopete/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kopete/main.cpp b/kopete/main.cpp
index d7dedfd..531885c 100644
--- a/kopete/main.cpp
+++ b/kopete/main.cpp
@@ -24,6 +24,7 @@
#include <QCommandLineOption>
#include <QApplication>
#include <KDBusService>
+#include <KCrash>
#include "kopeteapplication.h"
#include "kopeteversion.h"
@@ -33,8 +34,11 @@ static const char description[]
int main(int argc, char *argv[])
{
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
KopeteApplication kopete(argc, argv);
+ kopete.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
+ KCrash::initialize();
KLocalizedString::setApplicationDomain("kopete");
KAboutData aboutData("kopete", i18n("Kopete"),
QStringLiteral(KOPETE_VERSION_STRING), i18n(description), KAboutLicense::GPL,