From 19b526d4533841ca91209929f0d6aef6042a8eeb Mon Sep 17 00:00:00 2001 From: Max Sandholm Date: Thu, 16 Nov 2017 16:33:52 +0200 Subject: Use system color scheme (using a Qt stylesheet) #104 The color scheme of nheko obeys the default color theme of Qt (i.e. the system theme). It uses a Qt stylesheet to accomplish this, which means replacing the color theme with a custom theme would only be a matter of writing a new style sheet and loading it into the app. --- src/RoomList.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/RoomList.cc') diff --git a/src/RoomList.cc b/src/RoomList.cc index a0b95748..f23b22cb 100644 --- a/src/RoomList.cc +++ b/src/RoomList.cc @@ -33,9 +33,7 @@ RoomList::RoomList(QSharedPointer client, QWidget *parent) : QWidget(parent) , client_(client) { - setStyleSheet( - "border: 1px solid #ccc; border-right: 0px solid #000; border-left: 0px solid #000;"); - + setStyleSheet("border: none;"); topLayout_ = new QVBoxLayout(this); topLayout_->setSpacing(0); topLayout_->setMargin(0); -- cgit 1.5.1