Replace {from,to}Ascii with {from,to}Latin1
[quassel.git] / src / core / coreircchannel.cpp
index 6423404..4f2f4f3 100644 (file)
@@ -61,7 +61,7 @@ void CoreIrcChannel::setEncrypted(bool e)
         if (topic().isEmpty())
             return;
 
-        QByteArray decrypted = cipher()->decryptTopic(topic().toAscii());
+        QByteArray decrypted = cipher()->decryptTopic(topic().toLatin1());
         setTopic(decodeString(decrypted));
     }
 }