fix issues with Qt application object in kwallet plugin

Review Request #2338 — Created March 10, 2023 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

Use QGuiApplication instead of QCoreApplication to avoid runtime warning "Cannot use KWindowSystem without a QGuiApplication"
Provide argc and argv for QGuiApplication object as its documentation requires:
"The data referred to by argc and argv must stay valid for the entire lifetime of the QGuiApplication object. In addition, argc must be greater than zero and argv must contain at least one valid character string."
  • set kwallet as credential provider
  • connected account with saved credentials
  • disconnected credential provider externally
  • created and connected new account and saved credentials
  • restarted pidgin to let accounts autoconnect

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last Summary ID Author
fix issues with Qt application object in kwallet plugin
Use QGuiApplication instead of QCoreApplication to avoid runtime warning "Cannot use KWindowSystem without a QGuiApplication" Provide argc and argv for QGuiApplication object as its documentation requires: "The data referred to by argc and argv must stay valid for the entire lifetime of the QGuiApplication object. In addition, argc must be greater than zero and argv must contain at least one valid character string."
35366ea9489c32dd7dc11ebb992acb2adb22b770 Markus Fischer
meson.build
libpurple/plugins/kwallet/purplekwallet.cpp
Loading...