summary refs log tree commit diff
path: root/src/emoji
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-02-22 14:43:17 +0100
committerGitHub <noreply@github.com>2020-02-22 14:43:17 +0100
commitfee00746c8ec0e172abe355a744b7a3575904e13 (patch)
treed5b2c81496df8b1a4beb1dc3d37037980af8dba4 /src/emoji
parentMerge pull request #127 from adasauce/cleanup-dark-qss (diff)
parentremove setStyleSheet calls directly from widget code (diff)
downloadnheko-fee00746c8ec0e172abe355a744b7a3575904e13.tar.xz
Merge pull request #128 from adasauce/no-setstylesheet
remove setStyleSheet calls directly from widget code
Diffstat (limited to 'src/emoji')
-rw-r--r--src/emoji/Category.cpp1
-rw-r--r--src/emoji/Panel.cpp4
2 files changed, 0 insertions, 5 deletions
diff --git a/src/emoji/Category.cpp b/src/emoji/Category.cpp

index 659555f7..e674e9db 100644 --- a/src/emoji/Category.cpp +++ b/src/emoji/Category.cpp
@@ -75,7 +75,6 @@ Category::Category(QString category, std::vector<Emoji> emoji, QWidget *parent) category_ = new QLabel(category, this); category_->setFont(font); - category_->setStyleSheet("margin: 20px 0 20px 8px;"); mainLayout_->addWidget(category_); mainLayout_->addWidget(emojiListView_); 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);