About cosmetics

.. for the config tab; no focus rectangle
on a Mac and get rid of all those frames.
This commit is contained in:
Mark Liversedge
2013-01-18 16:30:57 +00:00
parent 6c06c6758e
commit cb7e8ee5a6

View File

@@ -349,6 +349,11 @@ ContributorsPage::ContributorsPage(MainWindow *main, QDir home) : main(main), ho
ConfigPage::ConfigPage(MainWindow *main, QDir home) : main(main), home(home)
{
QTextEdit *text = new QTextEdit(this);
text->setAutoFillBackground(false);
#ifdef Q_OS_MAC
text->setAttribute(Qt::WA_MacShowFocusRect, 0);
#endif
text->setFrameStyle(QFrame::NoFrame);
text->setContentsMargins(0,0,0,0);
QFile file(":gcconfig.pri");