common: Always let QVariant::fromValue() deduce the type
[quassel.git] / src / qtui / settingspages / chatmonitorsettingspage.cpp
index 812a6e6..73d962b 100644 (file)
@@ -156,7 +156,7 @@ void ChatMonitorSettingsPage::save()
     // save list of active buffers
     QVariantList saveableBufferIdList;
     foreach (BufferId id, _configActive->bufferList()) {
-        saveableBufferIdList << QVariant::fromValue<BufferId>(id);
+        saveableBufferIdList << QVariant::fromValue(id);
     }
 
     chatViewSettings.setValue("Buffers", saveableBufferIdList);