From f47a916c537ecad6cea5c304d104d5e29830aa05 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Fri, 24 Aug 2012 14:11:06 +0200 Subject: Save settings on mode changes This partly addresses QTCREATORBUG-7754: Settings are lost way less often this way. We do not really want to save whenever settings might have been touched, so this seems like a good compromise to me. Most modes at least have some view specific settings that need saving, so lets just save everything on each mode change. Settings are only written to disk if they really changed nowadays, so this should be fine. Task-number: QTCREATORBUG-7754 Change-Id: I26ae18cae38754da6c79a8b870ffae2e681db7c1 Reviewed-by: Daniel Teske --- src/plugins/coreplugin/modemanager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/coreplugin/modemanager.h') diff --git a/src/plugins/coreplugin/modemanager.h b/src/plugins/coreplugin/modemanager.h index cdf26b84ae..d1fc497d9e 100644 --- a/src/plugins/coreplugin/modemanager.h +++ b/src/plugins/coreplugin/modemanager.h @@ -85,6 +85,8 @@ private slots: void currentTabChanged(int index); void updateModeToolTip(); void enabledStateChanged(); + void handleStartup(); + void handleShutdown(); }; } // namespace Core -- cgit v1.2.1