summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-17 10:32:53 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-20 11:02:56 (GMT)
commit100914d12d6c846c9de0460cb986b8794cce8c14 (patch)
treec10e6b655b13e8ede10aef36677fe05ea717e10f /tools
parentcc8f9a20198590d219fe38421d0629002e574c20 (diff)
downloadQt-100914d12d6c846c9de0460cb986b8794cce8c14.zip
Qt-100914d12d6c846c9de0460cb986b8794cce8c14.tar.gz
Qt-100914d12d6c846c9de0460cb986b8794cce8c14.tar.bz2
mac: remove special handling of the editor frame now that stylesheets work properly
Diffstat (limited to 'tools')
-rw-r--r--tools/linguist/linguist/messageeditor.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/linguist/linguist/messageeditor.cpp b/tools/linguist/linguist/messageeditor.cpp
index dc8b8e4..53cbbea 100644
--- a/tools/linguist/linguist/messageeditor.cpp
+++ b/tools/linguist/linguist/messageeditor.cpp
@@ -133,19 +133,12 @@ void MessageEditor::setupEditorPage()
QFrame *editorPage = new QFrame;
editorPage->setObjectName(QLatin1String("editorPage"));
- // Due to CSS being rather broken on the Mac style at the moment, only
- // use the border-image on non-Mac systems.
editorPage->setStyleSheet(QLatin1String(
-#ifndef Q_WS_MAC
"QFrame#editorPage { border-image: url(:/images/transbox.png) 12 16 16 12 repeat;"
" border-width: 12px 16px 16px 12px; }"
-#endif
"QFrame#editorPage { background-color: white; }"
"QLabel { font-weight: bold; }"
));
-#ifdef Q_WS_MAC
- editorPage->setFrameStyle(QFrame::StyledPanel | QFrame::Raised);
-#endif
editorPage->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
m_source = new FormWidget(tr("Source text"), false);