mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-06 00:32:40 -08:00
Refactor: separate GUI sources from core sources
This PR splits the GUI source files from the core source files. The immediate goal is to allow the CLI to require only a minimum number of dynamic libraries. The long term goal is to create an architectural boundary around the core module, in preparation of libkdbx.
This commit is contained in:
1 parent
854459068f
commit
166a371050
36 files changed
+173
-163
No files matched your search
@@ -802,10 +802,21 @@ void Entry::addHistoryItem(Entry* entry)
|
||||
{
|
||||
Q_ASSERT(!entry->parent());
|
||||
|
||||
entry->setHistoryOwner(this);
|
||||
m_history.append(entry);
|
||||
emitModified();
|
||||
}
|
||||
|
||||
void Entry::setHistoryOwner(Entry* entry)
|
||||
{
|
||||
m_historyOwner = entry;
|
||||
}
|
||||
|
||||
Entry* Entry::historyOwner() const
|
||||
{
|
||||
return m_historyOwner;
|
||||
}
|
||||
|
||||
void Entry::removeHistoryItems(const QList<Entry*>& historyEntries)
|
||||
{
|
||||
if (historyEntries.isEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user