Skip to content

Commit

Permalink
Remove various undefined/unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Mar 31, 2024
1 parent 5883f49 commit 194409a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/browser/BrowserService.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ private slots:
const bool omitWwwSubdomain = false);
QString getDatabaseRootUuid();
QString getDatabaseRecycleBinUuid();
bool checkLegacySettings(QSharedPointer<Database> db);
void hideWindow() const;
void raiseWindow(const bool force = false);
void updateWindowState();
Expand Down
1 change: 0 additions & 1 deletion src/core/Group.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ class Group : public ModifiableObject
const QList<Group*>& children() const;
QList<Entry*> entries();
const QList<Entry*>& entries() const;
Entry* findEntryRecursive(const QString& text, EntryReferenceType referenceType, Group* group = nullptr);
QList<Entry*> referencesRecursive(const Entry* entry) const;
QList<Entry*> entriesRecursive(bool includeHistoryItems = false) const;
QList<const Group*> groupsRecursive(bool includeSelf) const;
Expand Down
2 changes: 0 additions & 2 deletions src/core/HibpDownloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ private slots:
void fetchReadyRead();

private:
void fetchPassword(const QString& password);

QStringList m_pwdsToTry; // The list of remaining passwords to validate
QHash<QNetworkReply*, QPair<QString, QByteArray>> m_replies;
};
Expand Down
1 change: 0 additions & 1 deletion src/gui/entry/EditEntryWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ private slots:
void setupEntryUpdate();
void setupColorButton(bool foreground, const QColor& color);

bool passwordsEqual();
void setForms(Entry* entry, bool restore = false);
QMenu* createPresetsMenu();
void updateEntryData(Entry* entry) const;
Expand Down
1 change: 0 additions & 1 deletion src/gui/entry/EntryURLModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class EntryURLModel : public QStandardItemModel
explicit EntryURLModel(QObject* parent = nullptr);

void setEntryAttributes(EntryAttributes* entryAttributes);
void insertRow(const QString& key, const QString& value);
void setEntryUrl(const QString& entryUrl);
bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override;
QVariant data(const QModelIndex& index, int role) const override;
Expand Down
2 changes: 0 additions & 2 deletions tests/TestCsvParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef KEEPASSX_TESTCSVPARSER_H
#define KEEPASSX_TESTCSVPARSER_H

#include <QFile>
#include <QTemporaryFile>

#include "format/CsvParser.h"
Expand Down Expand Up @@ -62,7 +61,6 @@ private slots:
QScopedPointer<QTemporaryFile> file;
QScopedPointer<CsvParser> parser;
CsvTable t;
void dumpRow(CsvTable table, int row);
};

#endif // KEEPASSX_TESTCSVPARSER_H

0 comments on commit 194409a

Please sign in to comment.