mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-20 23:12:34 -05:00
Code quality updates for 2.4.0 (#2709)
* Minor code quality fixes found by Codacy * Fix unused variables when WITH_XC_NETWORKING is OFF * Fix #2684, resolve entry references from the root group * Fix #2697 and Fix #2699, listen specifically for WM_QUERYENDSESSION and WM_ENDSESSION on Windows to gracefully shutdown KeePassXC * Cleanup proxy code and add explicit closure for shutdown messages
This commit is contained in:
parent
fa3c959212
commit
0c587999c6
15 changed files with 97 additions and 46 deletions
|
|
@ -76,7 +76,7 @@
|
|||
class BrowserPlugin : public ISettingsPage
|
||||
{
|
||||
public:
|
||||
BrowserPlugin(DatabaseTabWidget* tabWidget)
|
||||
explicit BrowserPlugin(DatabaseTabWidget* tabWidget)
|
||||
{
|
||||
m_nativeMessagingHost =
|
||||
QSharedPointer<NativeMessagingHost>(new NativeMessagingHost(tabWidget, browserSettings()->isEnabled()));
|
||||
|
|
@ -713,6 +713,10 @@ void MainWindow::hasUpdateAvailable(bool hasUpdate, const QString& version, bool
|
|||
updateCheckDialog->showUpdateCheckResponse(hasUpdate, version);
|
||||
updateCheckDialog->show();
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(hasUpdate)
|
||||
Q_UNUSED(version)
|
||||
Q_UNUSED(isManuallyRequested)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue