Be explicit about the text color on the context menu

[ci skip]
This commit is contained in:
Konstantinos Sideris 2017-05-31 23:44:04 +03:00
parent af80c251d7
commit 4a026b1511
2 changed files with 3 additions and 4 deletions

View file

@ -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 \

View file

@ -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: