HTTP creds: Fix translation of the password input dialog

tr() needs Q_OBJECT
This commit is contained in:
Olivier Goffart 2015-04-17 12:18:09 +02:00
parent 2518fd7059
commit 6c73f25747

View 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) {}