qa: Replace Qt module includes by class ones
[quassel.git] / src / core / coreidentity.cpp
index f0b75b0..4329a28 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2018 by the Quassel Project                        *
+ *   Copyright (C) 2005-2019 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -110,7 +110,7 @@ CoreCertManager::CoreCertManager(CoreIdentity& identity)
 
 void CoreCertManager::setId(IdentityId id)
 {
-    renameObject(QString::number(id.toInt()));
+    setObjectName(QString::number(id.toInt()));
 }
 
 void CoreCertManager::setSslKey(const QByteArray& encoded)