Home GnuPG

qt: Fix pinentry-curses fallback for qt5
cd7b35e8ff10Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

qt: Fix pinentry-curses fallback for qt5

* qt/main.cpp (main): Initialize QApplication later.

This fixes the curses fallback because with Qt5 the creation of
the auto_ptr for the application already initialized the XCB subsystem
and caused the abort of the application.

Also removes the usage of the deprecated auto_ptr.

Details

Provenance
aheineckeAuthored on Feb 13 2017, 5:34 PM
Parents
rPe467a000f87e: core: Show the command line in the titlebar.
Branches
Unknown
Tags
Unknown