mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
@@ -20,7 +20,7 @@ void RegexExplorer::setStatusColor(QWidget* widget, bool successful)
|
||||
QColor color = successful ? QColor(0, 127, 0) : Qt::red;
|
||||
|
||||
QPalette palette = widget->palette();
|
||||
palette.setColor(QPalette::Foreground, color);
|
||||
palette.setColor(QPalette::WindowText, color);
|
||||
widget->setPalette(palette);
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ if (QT_TEST_VERSION EQUAL 4)
|
||||
else()
|
||||
set(rccCompress "--compress")
|
||||
endif()
|
||||
set_target_properties(sameName PROPERTIES AUTORCC_OPTIONS "${rccCompress};0" )
|
||||
set_source_files_properties(aaa/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};1" )
|
||||
set_source_files_properties(bbb/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};2" )
|
||||
set_source_files_properties(ccc/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};3" )
|
||||
set_target_properties(sameName PROPERTIES AUTORCC_OPTIONS "${rccCompress};1" )
|
||||
set_source_files_properties(aaa/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};2" )
|
||||
set_source_files_properties(bbb/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};3" )
|
||||
set_source_files_properties(ccc/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};4" )
|
||||
|
||||
Reference in New Issue
Block a user