Use a filename relative to the bibliography file?
The relative path would be
%1
The absolute path would be
%2
", relativeFilename, absoluteFilename, QFontDatabase::systemFont(QFontDatabase::FixedFont).family()), i18n("Relative Path"), KGuiItem(i18n("Relative Path")), KGuiItem(i18n("Absolute Path"))) == KMessageBox::Yes)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /home/pterjan/rpmbuild/BUILD/kbibtex-0.10.0-build/kbibtex-0.10.0/src/gui/field/fieldlistedit.cpp:38:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:143:12: note: declared here
143 | ButtonCode questionYesNo(QWidget *parent,
| ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/kbibtex-0.10.0-build/kbibtex-0.10.0/src/gui/field/fieldlistedit.cpp:602:478: warning: 'KMessageBox::Yes' is deprecated: Since 5.100. Use PrimaryAction. [-Wdeprecated-declarations]
602 | if (KMessageBox::questionYesNo(parent, i18n("