[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kmymoney] kmymoney/plugins: Minor code improvements
From: Christian_Dávid <christian-david () web ! de>
Date: 2016-07-31 19:39:50
Message-ID: E1bTwaU-0001ZQ-Pr () code ! kde ! org
[Download RAW message or body]
Git commit 98bfab75f95801328a9ed53218a6e73cdfcc2d1a by Christian Dávid.
Committed on 30/07/2016 at 22:05.
Pushed by christiand into branch 'master'.
Minor code improvements
The chiptan test dialog should be enabled if compiled in debug mode
again.
M +1 -1 kmymoney/plugins/kbanking/CMakeLists.txt
M +6 -6 kmymoney/plugins/reconciliationreport/reconciliationreport.cpp
http://commits.kde.org/kmymoney/98bfab75f95801328a9ed53218a6e73cdfcc2d1a
diff --git a/kmymoney/plugins/kbanking/CMakeLists.txt \
b/kmymoney/plugins/kbanking/CMakeLists.txt index 193067a..7a6b656 100644
--- a/kmymoney/plugins/kbanking/CMakeLists.txt
+++ b/kmymoney/plugins/kbanking/CMakeLists.txt
@@ -44,7 +44,7 @@ target_link_libraries(kmm_kbanking
set(KMM_BANKING_DEBUG_OPTIONS)
# preprocessor definitions in case this is a debug build
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_TOLOWER)
-if("${CMAKE_BUILD_TYPE_TOLOWER}" MATCHES "^debug(full)?$")
+if("${CMAKE_BUILD_TYPE_TOLOWER}" MATCHES "debug")
file(READ kmm_kbanking_debug.rc KMM_BANKING_DEBUG_OPTIONS)
endif()
configure_file(kmm_kbanking.rc "${CMAKE_CURRENT_BINARY_DIR}/kmm_kbanking.rc" @ONLY)
diff --git a/kmymoney/plugins/reconciliationreport/reconciliationreport.cpp \
b/kmymoney/plugins/reconciliationreport/reconciliationreport.cpp index \
e27f9f3..304b032 100644
--- a/kmymoney/plugins/reconciliationreport/reconciliationreport.cpp
+++ b/kmymoney/plugins/reconciliationreport/reconciliationreport.cpp
@@ -63,12 +63,12 @@ void \
KMMReconciliationReportPlugin::slotGenerateReconciliationReport(const MyMon
QColor tcolor = KColorScheme(QPalette::Active).foreground(KColorScheme::NormalText).color();
QString css;
- css += "<style type=\"text/css\">\n<!--\n";
- css += QString(".row-even, .item0 { background-color: %1; color: %2 }\n")
- .arg((KColorScheme(QPalette::Normal).background(KColorScheme::AlternateBackground).color()).name(), \
tcolor.name());
- css += QString(".row-odd, .item1 { background-color: %1; color: %2 }\n")
- .arg((KColorScheme(QPalette::Normal).background(KColorScheme::NormalBackground).color()).name(), \
tcolor.name());
- css += "-->\n</style>\n";
+ css += "<style type=\"text/css\">\n<!--\n"
+ + QString(".row-even, .item0 { background-color: %1; color: %2 }\n")
+ .arg((KColorScheme(QPalette::Normal).background(KColorScheme::AlternateBackground).color()).name(), \
tcolor.name()) + + QString(".row-odd, .item1 { background-color: %1; color: %2 \
}\n") + .arg((KColorScheme(QPalette::Normal).background(KColorScheme::NormalBackground).color()).name(), \
tcolor.name()) + + "-->\n</style>\n";
header += css;
header += "</head><body>\n";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic