HTTP creds: Fix translation of the password input dialog
authorOlivier Goffart <ogoffart@woboq.com>
Fri, 17 Apr 2015 10:18:09 +0000 (12:18 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Fri, 17 Apr 2015 10:19:37 +0000 (12:19 +0200)
tr() needs Q_OBJECT

src/libsync/creds/httpcredentials.h

index f0fb4b45c30f4f5c5926df3e3d2a922bba066a5e..62adf8a7cb8e3502d61196cc1effd8a57c119912 100644 (file)
@@ -75,6 +75,7 @@ private:
 };
 
 class OWNCLOUDSYNC_EXPORT HttpCredentialsGui : public HttpCredentials {
+    Q_OBJECT
 public:
     explicit HttpCredentialsGui() : HttpCredentials() {}
     HttpCredentialsGui(const QString& user, const QString& password, const QString& certificatePath, const QString& certificatePasswd) : HttpCredentials(user, password, certificatePath, certificatePasswd) {}