|
From: Tapio V. <aa...@us...> - 2011-02-21 19:47:25
|
Author: Tapio Vierros <tap...@gm...>
Date: Mon Feb 21 21:47:09 2011 +0200
Default to always showing getting started window on start-up.
---
gettingstarted.hh | 2 +-
gettingstarted.ui | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/gettingstarted.hh b/gettingstarted.hh
index 2bbe1ad..bba71f5 100644
--- a/gettingstarted.hh
+++ b/gettingstarted.hh
@@ -13,7 +13,7 @@ public:
if (!m_editorApp) throw std::runtime_error("Couldn't open help dialog.");
setupUi(this);
QSettings settings;
- chkShowOnStartup->setChecked(settings.value("showhelp", false).toBool());
+ chkShowOnStartup->setChecked(settings.value("showhelp", true).toBool());
}
public slots:
diff --git a/gettingstarted.ui b/gettingstarted.ui
index dc76f57..b881bab 100644
--- a/gettingstarted.ui
+++ b/gettingstarted.ui
@@ -19,6 +19,9 @@
<property name="text">
<string>&Show this window on application start</string>
</property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item row="2" column="1">
|