Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.1
-
None
-
8302ca22f42f984a16187fae209bdc1d79bc18da (qt/qtbase/dev)
Description
#include <QFont> #include <QDebug> int main(int argc ,char *argv) { QFont font; font.setFamilies({}); // perfect fine qDebug() << font.family(); // ASSERT: "!isEmpty()" in file ... }
I'm not sure what the correct behavior should be, but asserting is wrong.