diff --git a/updateform.cpp b/updateform.cpp index 78aa0d2..48f7a3e 100644 --- a/updateform.cpp +++ b/updateform.cpp @@ -56,6 +56,12 @@ UpdateForm::UpdateForm(QWidget *parent) : p.setColor(QPalette::Text, QColor(0xCC, 0xCC, 0xCC)); ui->pteUpdaterConsole->setPalette(p); + // Setting the font(family) in the designer makes us crash after plugin unload O_o + QFont font; + font.setFamily("Consolas"); + font.setPointSize(10); + ui->pteUpdaterConsole->setFont(font); + foundCommitDate = false; manager = new QNetworkAccessManager(this); diff --git a/updateform.ui b/updateform.ui index 056e11d..dbdfea2 100644 --- a/updateform.ui +++ b/updateform.ui @@ -91,12 +91,6 @@ - - - Consolas - 10 - - true