The preferences used to be spread across a menu entry and hardcoded paths, so the user could not see them, let alone change them: where the journal goes, whether a dropped Flatpak file is accepted, and when the app checks its own version were all decided in code. They now live in AppSettings, one model the rest of the app already reads, and the new Settings screen only writes to it. Nothing keeps a second copy of a value, so a change is visible everywhere at once — switching directory moves the journal, unchecking drag & drop makes the window refuse the drop, blocking the update has the manual check say why instead of silently doing nothing. The update block is deliberately limited to PacManager itself: blocking a system package update is a decision the app has no business making. The language setting installs a Qt catalogue and asks every widget to retranslate. The interface is still written in French with QStringLiteral, so no catalogue ships yet; a language with none is shown in the list but disabled rather than silently doing nothing, and Qt Linguist stays optional so the build does not depend on it.
22 lines
989 B
XML
22 lines
989 B
XML
<!DOCTYPE RCC>
|
|
<RCC version="1.0">
|
|
<qresource prefix="/icons">
|
|
<file alias="home.svg">icons/home.svg</file>
|
|
<file alias="search.svg">icons/search.svg</file>
|
|
<file alias="package.svg">icons/package.svg</file>
|
|
<file alias="trash.svg">icons/trash.svg</file>
|
|
<file alias="arrow-up.svg">icons/arrow-up.svg</file>
|
|
<file alias="history.svg">icons/history.svg</file>
|
|
<file alias="logs.svg">icons/logs.svg</file>
|
|
<file alias="refresh.svg">icons/refresh.svg</file>
|
|
<file alias="tools.svg">icons/tools.svg</file>
|
|
<file alias="check.svg">icons/check.svg</file>
|
|
<file alias="check-dark.svg">icons/check-dark.svg</file>
|
|
<file alias="close.svg">icons/close.svg</file>
|
|
<file alias="filter.svg">icons/filter.svg</file>
|
|
<file alias="alert.svg">icons/alert.svg</file>
|
|
<file alias="plugin.svg">icons/plugin.svg</file>
|
|
<file alias="broom.svg">icons/broom.svg</file>
|
|
<file alias="settings.svg">icons/settings.svg</file>
|
|
</qresource>
|
|
</RCC> |