summary refs log tree commit diff
path: root/src/emoji/Panel.cpp
diff options
context:
space:
mode:
authorAdasauce <adasauce@with.parts>2020-02-21 15:16:53 -0400
committerAdasauce <adasauce@with.parts>2020-02-21 15:38:19 -0400
commit6e6fe0cad2f5f927db26febd4b5c8e07e1106c7e (patch)
treed5b2c81496df8b1a4beb1dc3d37037980af8dba4 /src/emoji/Panel.cpp
parentMerge pull request #127 from adasauce/cleanup-dark-qss (diff)
downloadnheko-6e6fe0cad2f5f927db26febd4b5c8e07e1106c7e.tar.xz
remove setStyleSheet calls directly from widget code
removed from:
 - emoji panel scrollbars
 - emoji category labels
 - splitter image handles
 - textfield setTextColor impl

small change to the category separator label for better contrast /
readability in dark mode.

removed setTextColor completely from TextField. Doesn't appear to be in
use anywhere, and focus going more toward qss themeing from qproperty
setting.
Diffstat (limited to 'src/emoji/Panel.cpp')
-rw-r--r--src/emoji/Panel.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/emoji/Panel.cpp b/src/emoji/Panel.cpp

index e3b966b4..f0e4449d 100644 --- a/src/emoji/Panel.cpp +++ b/src/emoji/Panel.cpp
@@ -35,10 +35,6 @@ Panel::Panel(QWidget *parent) , height_{350} , categoryIconSize_{20} { - setStyleSheet("QWidget {border: none;}" - "QScrollBar:vertical { width: 0px; margin: 0px; }" - "QScrollBar::handle:vertical { min-height: 30px; }"); - setAttribute(Qt::WA_ShowWithoutActivating, true); setWindowFlags(Qt::Tool | Qt::FramelessWindowHint | Qt::NoDropShadowWindowHint);