actually initialize kcrash for xclipboardsync
Summary: to successfully use kcrash when linking with as-needed (which is a default flag on many linux distros) one also needs to call KCrash::initialize. https://markmail.org/thread/zv5pheijaze72bzs Test Plan: builds; correctly links kcrash Reviewers: davidedmundson Reviewed By: davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D16923
This commit is contained in:
parent
406b70b04e
commit
aace9b1675
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*********************************************************************/
|
||||
#include "waylandclipboard.h"
|
||||
|
||||
#include <KCrash>
|
||||
#include <QGuiApplication>
|
||||
|
||||
#include <config-kwin.h>
|
||||
|
@ -40,6 +41,7 @@ int main(int argc, char *argv[])
|
|||
argv[0], qPrintable(app.platformName()));
|
||||
return 1;
|
||||
}
|
||||
KCrash::initialize();
|
||||
new WaylandClipboard(&app);
|
||||
return app.exec();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue