Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.2.0-beta1
-
None
-
adb5a7a70820a502f58a591f61a6d8a60008e635
Description
Because of a stupid mistake, the program does not set the title for a print job. When checking the document title, exclamation mark was skipped.
qt-creator/src/plugins/texteditor/basetexteditor.cpp Line 344
void BaseTextEditorWidgetPrivate::print(QPrinter *printer)
{
QTextDocument *doc = q->document();
QString title = m_document->displayName();
if (title.isEmpty())
printer->setDocName(title);
if (title.isEmpty()) should be if (!title.isEmpty())
Attachments
For Gerrit Dashboard: QTCREATORBUG-12161 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
85132,1 | Editor: Set correct title to the print job. | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |