common: Disable enum type stream operators for Qt >= 5.14
[quassel.git] / src / common / transfer.cpp
index d33a9a3..fd170ee 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  *
@@ -59,7 +59,7 @@ void Transfer::init()
     }();
     Q_UNUSED(regTypes);
 
-    renameObject(QString("Transfer/%1").arg(_uuid.toString()));
+    setObjectName(QString("Transfer/%1").arg(_uuid.toString()));
     setAllowClientUpdates(true);
 }