Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Tools.cpp')
-rw-r--r--src/core/Tools.cpp22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/core/Tools.cpp b/src/core/Tools.cpp
index 7c6d52a59..61c8cb6e2 100644
--- a/src/core/Tools.cpp
+++ b/src/core/Tools.cpp
@@ -24,9 +24,11 @@
#include "core/Clock.h"
+#include <QCoreApplication>
#include <QElapsedTimer>
+#include <QEventLoop>
#include <QFileInfo>
-#include <QImageReader>
+#include <QIODevice>
#include <QLocale>
#include <QMetaProperty>
#include <QRegularExpression>
@@ -172,24 +174,6 @@ namespace Tools
}
}
- QString imageReaderFilter()
- {
- const QList<QByteArray> formats = QImageReader::supportedImageFormats();
- QStringList formatsStringList;
-
- for (const QByteArray& format : formats) {
- for (char codePoint : format) {
- if (!QChar(codePoint).isLetterOrNumber()) {
- continue;
- }
- }
-
- formatsStringList.append("*." + QString::fromLatin1(format).toLower());
- }
-
- return formatsStringList.join(" ");
- }
-
bool isHex(const QByteArray& ba)
{
for (const uchar c : ba) {