summaryrefslogtreecommitdiffstats
path: root/tools/linguist/linguist
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-17 12:32:53 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-20 13:02:56 +0200
commit100914d12d6c846c9de0460cb986b8794cce8c14 (patch)
treec10e6b655b13e8ede10aef36677fe05ea717e10f /tools/linguist/linguist
parentcc8f9a20198590d219fe38421d0629002e574c20 (diff)
mac: remove special handling of the editor frame now that stylesheets work properly
Diffstat (limited to 'tools/linguist/linguist')
-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 dc8b8e46a7..53cbbea212 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);