mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-24 15:25:31 -04:00
Convert from unicode to image based paperclip
This commit is contained in:
parent
8c4df37062
commit
fd71b4a22e
7 changed files with 23 additions and 20 deletions
|
@ -72,6 +72,10 @@ EntryView::EntryView(QWidget* parent)
|
|||
m_columnActions->setExclusive(false);
|
||||
for (int columnIndex = 1; columnIndex < header()->count(); ++columnIndex) {
|
||||
QString caption = m_model->headerData(columnIndex, Qt::Horizontal, Qt::DisplayRole).toString();
|
||||
if (columnIndex == EntryModel::Paperclip) {
|
||||
caption = tr("Attachments (icon)");
|
||||
}
|
||||
|
||||
QAction* action = m_headerMenu->addAction(caption);
|
||||
action->setCheckable(true);
|
||||
action->setData(columnIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue