mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 18:32:51 +00:00
kgpg: set GPG offline to true
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
71170c411c
commit
03f8a1ef07
2 changed files with 4 additions and 3 deletions
|
@ -48,6 +48,7 @@ KGPG::KGPG(QWidget *parent)
|
|||
}
|
||||
m_release = true;
|
||||
|
||||
gpgme_set_offline(m_gpgctx, 1);
|
||||
gpgme_set_pinentry_mode(m_gpgctx, GPGME_PINENTRY_MODE_LOOPBACK); // for password callback
|
||||
gpgme_set_passphrase_cb(m_gpgctx, KGPG::gpgPasswordCallback, this);
|
||||
gpgme_set_progress_cb(m_gpgctx, KGPG::gpgProgressCallback, this);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>388</width>
|
||||
<height>407</height>
|
||||
<height>364</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
@ -56,8 +56,8 @@
|
|||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
|
|
Loading…
Add table
Reference in a new issue