summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <kde@opensource.sf-tec.de>2016-10-09 14:59:35 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2016-10-09 15:11:41 (GMT)
commit40d33f67dfb6e34ccb7cfc984f915b82a6b0fc9b (patch)
tree2cd8b66d2ee0979aa04a2bc50a224aea9587a394
parentfe84703042f80c159cd4653d041b028385b67c81 (diff)
port away from deprecated QWeakPointer usage
-rw-r--r--transactions/kgpgtransactionprivate.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/transactions/kgpgtransactionprivate.cpp b/transactions/kgpgtransactionprivate.cpp
index a16f604..87e0509 100644
--- a/transactions/kgpgtransactionprivate.cpp
+++ b/transactions/kgpgtransactionprivate.cpp
@@ -17,7 +17,6 @@
#include <QDebug>
#include <QPointer>
-#include <QWeakPointer>
#include <QWidget>
#include <KLocalizedString>
@@ -60,8 +59,8 @@ void
KGpgTransactionPrivate::slotReadReady()
{
QString line;
- QWeakPointer<GPGProc> process(m_process);
- QWeakPointer<KGpgTransaction> par(m_parent);
+ QPointer<GPGProc> process(m_process);
+ QPointer<KGpgTransaction> par(m_parent);
while (!process.isNull() && (m_process->readln(line, true) >= 0)) {
if (m_quitTries)