From 4a026b1511da08ac007a769803f30f69043022c1 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Wed, 31 May 2017 23:44:04 +0300 Subject: [PATCH] Be explicit about the text color on the context menu [ci skip] --- CMakeLists.txt | 1 - include/ui/Menu.h | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38cc3b3d..f50f618d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,6 @@ message(STATUS "Version: ${PROJECT_VERSION}") if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \ - -std=c++11 \ -Wall \ -Wextra \ -Werror \ diff --git a/include/ui/Menu.h b/include/ui/Menu.h index 78a35b43..44c13b79 100644 --- a/include/ui/Menu.h +++ b/include/ui/Menu.h @@ -10,9 +10,9 @@ public: { setFont(QFont("Open Sans", 10)); setStyleSheet( - "QMenu { background-color: white; margin: 0px;}" - "QMenu::item { padding: 7px 20px; border: 1px solid transparent; margin: 2px 0px; }" - "QMenu::item:selected { background: rgba(180, 180, 180, 100); }"); + "QMenu { color: black; background-color: white; margin: 0px;}" + "QMenu::item { color: black; padding: 7px 20px; border: 1px solid transparent; margin: 2px 0px; }" + "QMenu::item:selected { color: black; background: rgba(180, 180, 180, 100); }"); }; protected: