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.
Attachments
For Gerrit Dashboard: QTBUG-88781 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
323186,2 | Return a QString() if the families list is empty | dev | qt/qtbase | Status: MERGED | +2 | 0 |