summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Angelaccio <elvis.angelaccio@kde.org>2016-09-29 08:28:04 (GMT)
committerElvis Angelaccio <elvis.angelaccio@kde.org>2016-09-29 08:28:04 (GMT)
commit4c77272c6fc5f9eead93b25e3a3e391bb5e84b86 (patch)
tree80f6a18c77bc82918af2ab52ba4cee2c23aafd8f
parent3f4aa3c0d2f4ed797a63823dc7f9ca8add5e09f8 (diff)
Remove unused qRegisterMetaType
This was added in 35cd542617a70f93c4444a7e0942e8f3bb684c9f but it's no longer necessary. It was also wrongly used because QPair<QString,QString> is not a typedef.
-rw-r--r--kerfuffle/jobs.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/kerfuffle/jobs.cpp b/kerfuffle/jobs.cpp
index d280937..df28650 100644
--- a/kerfuffle/jobs.cpp
+++ b/kerfuffle/jobs.cpp
@@ -67,12 +67,6 @@ Job::Job(ReadOnlyArchiveInterface *interface)
, m_archiveInterface(interface)
, d(new Private(this))
{
- static bool onlyOnce = false;
- if (!onlyOnce) {
- qRegisterMetaType<QPair<QString, QString> >("QPair<QString,QString>");
- onlyOnce = true;
- }
-
setCapabilities(KJob::Killable);
}