Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hadi Charara
Dolphin
Commits
b2570980
Commit
b2570980
authored
Jun 20, 2021
by
Hadi Charara
Browse files
Added proper theme color
parent
07187204
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/panels/readme/readmepanel.cpp
View file @
b2570980
...
...
@@ -5,6 +5,7 @@
#include
<QVBoxLayout>
#include
<QFileInfo>
#include
<QtWidgets>
#include
<KColorScheme>
#include
"dolphin_readmepanelsettings.h"
...
...
@@ -61,6 +62,7 @@ inline void ReadmePanel::configureTextBrowser()
m_textBrowser
->
setFrameStyle
(
0
);
m_textBrowser
->
setStyleSheet
(
"QTextEdit { background-color: transparent; }"
);
m_textBrowser
->
setHorizontalScrollBarPolicy
(
Qt
::
ScrollBarAlwaysOff
);
m_textBrowser
->
setTextColor
(
KColorScheme
::
ForegroundRole
::
NormalText
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment