mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:10:04 +00:00 
			
		
		
		
	Switch to using a submodule for qt6ct external code
This commit is contained in:
		
							parent
							
								
									0bce0e2bd7
								
							
						
					
					
						commit
						5c57ae0edc
					
				
					 8 changed files with 16 additions and 145 deletions
				
			
		|  | @ -12,7 +12,6 @@ | |||
| #include <scwx/qt/settings/general_settings.hpp> | ||||
| #include <scwx/qt/types/qt_types.hpp> | ||||
| #include <scwx/qt/ui/setup/setup_wizard.hpp> | ||||
| #include <scwx/qt/util/qt6ct_palette.hpp> | ||||
| #include <scwx/network/cpr.hpp> | ||||
| #include <scwx/util/environment.hpp> | ||||
| #include <scwx/util/logger.hpp> | ||||
|  | @ -24,6 +23,7 @@ | |||
| #include <aws/core/Aws.h> | ||||
| #include <boost/asio.hpp> | ||||
| #include <fmt/format.h> | ||||
| #include <qt6ct-common/qt6ct.h> | ||||
| #include <QApplication> | ||||
| #include <QStandardPaths> | ||||
| #include <QStyleHints> | ||||
|  | @ -168,11 +168,9 @@ static void ConfigureTheme(const std::vector<std::string>& args) | |||
| 
 | ||||
|    if (uiStyle == scwx::qt::types::UiStyle::FusionQt6Ct) | ||||
|    { | ||||
|       auto palette = | ||||
|          std::make_unique<QPalette>(scwx::qt::util::qt6ct::loadColorScheme( | ||||
|             ":res/qt6ct_colors/darker.conf", | ||||
|             QApplication::style()->standardPalette())); | ||||
|       QApplication::setPalette(*palette); | ||||
|       QPalette palette = Qt6CT::loadColorScheme(":res/qt6ct_colors/darker.conf", | ||||
|             QApplication::style()->standardPalette());; | ||||
|       QApplication::setPalette(palette); | ||||
|    } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak