Commit 40d33f67 authored by Rolf Eike Beer's avatar Rolf Eike Beer

port away from deprecated QWeakPointer usage

parent fe847030
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include <QDebug> #include <QDebug>
#include <QPointer> #include <QPointer>
#include <QWeakPointer>
#include <QWidget> #include <QWidget>
#include <KLocalizedString> #include <KLocalizedString>
...@@ -60,8 +59,8 @@ void ...@@ -60,8 +59,8 @@ void
KGpgTransactionPrivate::slotReadReady() KGpgTransactionPrivate::slotReadReady()
{ {
QString line; QString line;
QWeakPointer<GPGProc> process(m_process); QPointer<GPGProc> process(m_process);
QWeakPointer<KGpgTransaction> par(m_parent); QPointer<KGpgTransaction> par(m_parent);
while (!process.isNull() && (m_process->readln(line, true) >= 0)) { while (!process.isNull() && (m_process->readln(line, true) >= 0)) {
if (m_quitTries) if (m_quitTries)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment