summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-05 13:32:10 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-02-06 08:23:02 (GMT)
commit9b6f2853e3a1d7a3eec643db13734ede70f49a38 (patch)
treecaba1de161e0d113d0822f7015d5ac48ab249ae2
parent5da1402a902403a0b5dc251158c443790bd612ed (diff)
downloadQt-9b6f2853e3a1d7a3eec643db13734ede70f49a38.zip
Qt-9b6f2853e3a1d7a3eec643db13734ede70f49a38.tar.gz
Qt-9b6f2853e3a1d7a3eec643db13734ede70f49a38.tar.bz2
remove the rounded extra frame around the main message editor
for one, it just added visual noise. second, it did not respect the color scheme, which made it unusable with light-on-dark colors. Task-number: QTBUG-7778 (cherry picked from commit b0e4af35ec8ddb5e7bfa658f916fbf29caa5a550)
-rw-r--r--tools/linguist/linguist/messageeditor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/linguist/linguist/messageeditor.cpp b/tools/linguist/linguist/messageeditor.cpp
index e0c6c92..929de31 100644
--- a/tools/linguist/linguist/messageeditor.cpp
+++ b/tools/linguist/linguist/messageeditor.cpp
@@ -135,12 +135,8 @@ MessageEditor::MessageEditor(MultiDataModel *dataModel, QMainWindow *parent)
void MessageEditor::setupEditorPage()
{
QFrame *editorPage = new QFrame;
- editorPage->setObjectName(QLatin1String("editorPage"));
editorPage->setStyleSheet(QLatin1String(
- "QFrame#editorPage { border-image: url(:/images/transbox.png) 12 16 16 12 repeat;"
- " border-width: 12px 16px 16px 12px; }"
- "QFrame#editorPage { background-color: white; }"
"QLabel { font-weight: bold; }"
));
editorPage->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));