GUI: no SetForegroundWindow in SettingsDialog
This commit is contained in:
		
							parent
							
								
									ddd229302f
								
							
						
					
					
						commit
						4e877f6de4
					
				|  | @ -190,11 +190,13 @@ void SettingsDialog::LoadSettings() | |||
|     GetSettingBool("Gui", "NoCloseDialog", &settings.guiNoCloseDialog); | ||||
|     GetSettingBool("Gui", "PidInHex", &settings.guiPidInHex); | ||||
|     GetSettingBool("Gui", "SidebarWatchLabels", &settings.guiSidebarWatchLabels); | ||||
|     GetSettingBool("Gui", "NoForegroundWindow", &settings.guiNoForegroundWindow); | ||||
|     ui->chkFpuRegistersLittleEndian->setChecked(settings.guiFpuRegistersLittleEndian); | ||||
|     ui->chkSaveColumnOrder->setChecked(settings.guiSaveColumnOrder); | ||||
|     ui->chkNoCloseDialog->setChecked(settings.guiNoCloseDialog); | ||||
|     ui->chkPidInHex->setChecked(settings.guiPidInHex); | ||||
|     ui->chkSidebarWatchLabels->setChecked(settings.guiSidebarWatchLabels); | ||||
|     ui->chkNoForegroundWindow->setChecked(settings.guiNoForegroundWindow); | ||||
| 
 | ||||
|     //Misc tab
 | ||||
|     if(DbgFunctions()->GetJit) | ||||
|  | @ -311,6 +313,7 @@ void SettingsDialog::SaveSettings() | |||
|     BridgeSettingSetUint("Gui", "NoCloseDialog", settings.guiNoCloseDialog); | ||||
|     BridgeSettingSetUint("Gui", "PidInHex", settings.guiPidInHex); | ||||
|     BridgeSettingSetUint("Gui", "SidebarWatchLabels", settings.guiSidebarWatchLabels); | ||||
|     BridgeSettingSetUint("Gui", "NoForegroundWindow", settings.guiNoForegroundWindow); | ||||
| 
 | ||||
|     //Misc tab
 | ||||
|     if(DbgFunctions()->GetJit) | ||||
|  | @ -699,3 +702,8 @@ void SettingsDialog::on_chkIgnoreInconsistentBreakpoints_toggled(bool checked) | |||
| { | ||||
|     settings.engineIgnoreInconsistentBreakpoints = checked; | ||||
| } | ||||
| 
 | ||||
| void SettingsDialog::on_chkNoForegroundWindow_toggled(bool checked) | ||||
| { | ||||
|     settings.guiNoForegroundWindow = checked; | ||||
| } | ||||
|  |  | |||
|  | @ -52,6 +52,7 @@ private slots: | |||
|     void on_chkTraceRecordEnabledDuringTrace_stateChanged(int arg1); | ||||
|     void on_chkSkipInt3Stepping_toggled(bool checked); | ||||
|     void on_chkNoScriptTimeout_stateChanged(int arg1); | ||||
|     void on_chkIgnoreInconsistentBreakpoints_toggled(bool checked); | ||||
|     //Exception tab
 | ||||
|     void on_btnAddRange_clicked(); | ||||
|     void on_btnDeleteRange_clicked(); | ||||
|  | @ -69,14 +70,13 @@ private slots: | |||
|     void on_chkNoCloseDialog_toggled(bool checked); | ||||
|     void on_chkPidInHex_clicked(bool checked); | ||||
|     void on_chkSidebarWatchLabels_stateChanged(int arg1); | ||||
|     void on_chkNoForegroundWindow_toggled(bool checked); | ||||
|     //Misc tab
 | ||||
|     void on_chkSetJIT_stateChanged(int arg1); | ||||
|     void on_chkConfirmBeforeAtt_stateChanged(int arg1); | ||||
|     void on_editSymbolStore_textEdited(const QString & arg1); | ||||
|     void on_editSymbolCache_textEdited(const QString & arg1); | ||||
| 
 | ||||
|     void on_chkIgnoreInconsistentBreakpoints_toggled(bool checked); | ||||
| 
 | ||||
| private: | ||||
|     //enums
 | ||||
|     enum CalcType | ||||
|  | @ -147,6 +147,7 @@ private: | |||
|         bool guiNoCloseDialog; | ||||
|         bool guiPidInHex; | ||||
|         bool guiSidebarWatchLabels; | ||||
|         bool guiNoForegroundWindow; | ||||
|         //Misc Tab
 | ||||
|         bool miscSetJIT; | ||||
|         bool miscSetJITAuto; | ||||
|  |  | |||
|  | @ -515,6 +515,13 @@ | |||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QCheckBox" name="chkNoForegroundWindow"> | ||||
|          <property name="text"> | ||||
|           <string>Do not call SetForegroundWindow</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <spacer name="verticalSpacer_7"> | ||||
|          <property name="orientation"> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue