mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Be explicit about the text color on the context menu
[ci skip]
This commit is contained in:
parent
af80c251d7
commit
4a026b1511
2 changed files with 3 additions and 4 deletions
|
@ -58,7 +58,6 @@ message(STATUS "Version: ${PROJECT_VERSION}")
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
|
||||||
-std=c++11 \
|
|
||||||
-Wall \
|
-Wall \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
-Werror \
|
-Werror \
|
||||||
|
|
|
@ -10,9 +10,9 @@ public:
|
||||||
{
|
{
|
||||||
setFont(QFont("Open Sans", 10));
|
setFont(QFont("Open Sans", 10));
|
||||||
setStyleSheet(
|
setStyleSheet(
|
||||||
"QMenu { background-color: white; margin: 0px;}"
|
"QMenu { color: black; background-color: white; margin: 0px;}"
|
||||||
"QMenu::item { padding: 7px 20px; border: 1px solid transparent; margin: 2px 0px; }"
|
"QMenu::item { color: black; padding: 7px 20px; border: 1px solid transparent; margin: 2px 0px; }"
|
||||||
"QMenu::item:selected { background: rgba(180, 180, 180, 100); }");
|
"QMenu::item:selected { color: black; background: rgba(180, 180, 180, 100); }");
|
||||||
};
|
};
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in a new issue