[Pkg-owncloud-commits] [qtkeychain] 09/17: Fix lupdate warnings

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Jun 1 18:02:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository qtkeychain.

commit 2c3ef558085b52c3e209dde264e99af4344d26e4
Author: Frank Osterfeld <frank.osterfeld at kdab.com>
Date:   Tue Mar 31 22:49:16 2015 +0200

    Fix lupdate warnings
    
    Use static calls to tr(), to make the context thingie work.
---
 keychain_unix.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/keychain_unix.cpp b/keychain_unix.cpp
index 6c75fc1..ee3d355 100644
--- a/keychain_unix.cpp
+++ b/keychain_unix.cpp
@@ -126,7 +126,7 @@ static void kwalletReadPasswordScheduledStartImpl(const char * service, const ch
     else
     {
     // D-Bus is not reachable so none can tell us something about KWalletd
-        QDBusError err( QDBusError::NoServer, priv->tr("D-Bus is not running") );
+        QDBusError err( QDBusError::NoServer, ReadPasswordPrivate::tr("D-Bus is not running") );
         priv->fallbackOnError( err );
     }
 }
@@ -349,7 +349,7 @@ static void kwalletWritePasswordScheduledStart( const char * service, const char
     else
     {
         // D-Bus is not reachable so none can tell us something about KWalletd
-        QDBusError err( QDBusError::NoServer, priv->tr("D-Bus is not running") );
+        QDBusError err( QDBusError::NoServer, WritePasswordJobPrivate::tr("D-Bus is not running") );
         priv->fallbackOnError( err );
     }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/qtkeychain.git



More information about the Pkg-owncloud-commits mailing list