mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
diff -uNr keepassxc-2.6.6/src/gui/entry/EntryView.cpp keepassxc-2.6.6.mod/src/gui/entry/EntryView.cpp
|
|
--- keepassxc-2.6.6/src/gui/entry/EntryView.cpp 2021-06-12 05:13:52.000000000 +0300
|
|
+++ keepassxc-2.6.6.mod/src/gui/entry/EntryView.cpp 2021-07-25 20:39:53.910034225 +0300
|
|
@@ -18,10 +18,11 @@
|
|
|
|
#include "EntryView.h"
|
|
|
|
-#include <QAccessible>
|
|
+#include <QCoreApplication>
|
|
#include <QDrag>
|
|
#include <QGuiApplication>
|
|
#include <QHeaderView>
|
|
+#include <QKeyEvent>
|
|
#include <QListWidget>
|
|
#include <QMenu>
|
|
#include <QPainter>
|
|
@@ -181,18 +182,15 @@
|
|
|
|
int last = m_model->rowCount() - 1;
|
|
if (last > 0) {
|
|
- QAccessibleEvent accessibleEvent(this, QAccessible::PageChanged);
|
|
if (event->key() == Qt::Key_Up && currentIndex().row() == 0) {
|
|
QModelIndex index = m_sortModel->mapToSource(m_sortModel->index(last, 0));
|
|
setCurrentEntry(m_model->entryFromIndex(index));
|
|
- QAccessible::updateAccessibility(&accessibleEvent);
|
|
return;
|
|
}
|
|
|
|
if (event->key() == Qt::Key_Down && currentIndex().row() == last) {
|
|
QModelIndex index = m_sortModel->mapToSource(m_sortModel->index(0, 0));
|
|
setCurrentEntry(m_model->entryFromIndex(index));
|
|
- QAccessible::updateAccessibility(&accessibleEvent);
|
|
return;
|
|
}
|
|
}
|