summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-07 10:37:02 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-07 10:37:02 (GMT)
commit194102eac605c1f6bc27cedf182dbff2c9421732 (patch)
tree66477e032a7247151feeb78378a5ddf13fa8e0f5
parente7271785ddcbde7a73ef536591fc6608e113b92b (diff)
Make moonless night fallback default
-rw-r--r--CMakeLists.txt2
-rw-r--r--kstars/auxiliary/colorscheme.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5bb1e79..e9beaaf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,6 +27,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL Android)
set(ANDROID TRUE)
endif()
+add_definitions(-DQT_QML_DEBUG)
+
find_package(ECM 1.7.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ${CMAKE_MODULE_PATH})
diff --git a/kstars/auxiliary/colorscheme.cpp b/kstars/auxiliary/colorscheme.cpp
index 4218914..9c92676 100644
--- a/kstars/auxiliary/colorscheme.cpp
+++ b/kstars/auxiliary/colorscheme.cpp
@@ -299,7 +299,7 @@ void ColorScheme::loadFromConfig() {
setStarColorModeIntensity( cg.readEntry( "StarColorMode", 0 ), cg.readEntry( "StarColorIntensity", 5 ) );
- FileName = cg.readEntry( "ColorSchemeFile", "classic.colors" );
+ FileName = cg.readEntry( "ColorSchemeFile", "moonless-night.colors" );
}
void ColorScheme::saveToConfig() {