mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:40:05 +00:00 
			
		
		
		
	Revert "save alert dock's visibility on exit"
This reverts commit 3ab18392b3.
			
			
This commit is contained in:
		
							parent
							
								
									bc62236351
								
							
						
					
					
						commit
						a94dc82c1f
					
				
					 4 changed files with 1 additions and 20 deletions
				
			
		|  | @ -5,7 +5,6 @@ | |||
| #include <scwx/qt/model/alert_model.hpp> | ||||
| #include <scwx/qt/model/alert_proxy_model.hpp> | ||||
| #include <scwx/qt/settings/general_settings.hpp> | ||||
| #include <scwx/qt/settings/ui_settings.hpp> | ||||
| #include <scwx/qt/types/alert_types.hpp> | ||||
| #include <scwx/qt/types/qt_types.hpp> | ||||
| #include <scwx/qt/ui/alert_dialog.hpp> | ||||
|  | @ -82,15 +81,6 @@ AlertDockWidget::AlertDockWidget(QWidget* parent) : | |||
| 
 | ||||
|    // Check Active Alerts and trigger signal
 | ||||
|    ui->actionActiveAlerts->setChecked(true); | ||||
| 
 | ||||
|    // Update setting on visiblity change.
 | ||||
|    connect(toggleViewAction(), | ||||
|            &QAction::triggered, | ||||
|            this, | ||||
|            [](bool checked) { | ||||
|               settings::UiSettings::Instance().alert_dock_visible().StageValue( | ||||
|                  checked); | ||||
|            }); | ||||
| } | ||||
| 
 | ||||
| AlertDockWidget::~AlertDockWidget() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak