projects
/
qcpufreq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1dc317
)
Help: apply stylesheet only to QTextEdit
author
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Thu, 1 Jul 2010 12:07:02 +0000
(14:07 +0200)
committer
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Thu, 1 Jul 2010 12:07:02 +0000
(14:07 +0200)
This prevents the scrollbars from looking strange.
src/helpwindow.cpp
patch
|
blob
|
history
diff --git
a/src/helpwindow.cpp
b/src/helpwindow.cpp
index
37870fe
..
95b4863
100644
(file)
--- a/
src/helpwindow.cpp
+++ b/
src/helpwindow.cpp
@@
-25,7
+25,7
@@
HelpWindow::HelpWindow(QWidget *parent) :
QPalette palette;
QBrush brush = palette.windowText();
QColor color = brush.color();
- ui->textBrowser->setStyleSheet( "background: transparent; color: " + color.name() + ";" );
+ ui->textBrowser->setStyleSheet( "QTextEdit {background: transparent; color: " + color.name() + ";}" );
}