[qet] qet/qet: [5802] Minor gui change |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5802
Author: blacksun
Date: 2019-03-19 18:31:46 +0100 (Tue, 19 Mar 2019)
Log Message:
-----------
Minor gui change
Modified Paths:
--------------
trunk/sources/ui/dynamicelementtextmodel.cpp
Modified: trunk/sources/ui/dynamicelementtextmodel.cpp
===================================================================
--- trunk/sources/ui/dynamicelementtextmodel.cpp 2019-03-18 20:14:36 UTC (rev 5801)
+++ trunk/sources/ui/dynamicelementtextmodel.cpp 2019-03-19 17:31:46 UTC (rev 5802)
@@ -207,7 +207,6 @@
font->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
QStandardItem *fonta = new QStandardItem();
- fonta->setFont(deti->font());
fonta->setData(deti->font().family(), Qt::EditRole);
fonta->setData(DynamicElementTextModel::font, Qt::UserRole+1);
fonta->setData(deti->font(), Qt::UserRole+2);
@@ -1346,7 +1345,6 @@
case font:
{
QFont f(deti->font());
- qsi->child(font_txt_row,1)->setFont(f);
qsi->child(font_txt_row,1)->setData(f.family(), Qt::EditRole);
qsi->child(font_txt_row,1)->setData(f, Qt::UserRole+2);
qsi->child(size_txt_row,1)->setData(f.pointSize(), Qt::EditRole);
@@ -1630,7 +1628,6 @@
**/
qsi->setData(fd->currentFont().family(), Qt::EditRole);
qsi->setData(fd->currentFont(), Qt::UserRole+2);
- qsi->setFont(fd->currentFont());
}
return;
}