summaryrefslogtreecommitdiff
path: root/src/glview.cc
diff options
context:
space:
mode:
authorGiles Bathgate <gilesbathgate@gmail.com>2011-07-03 12:54:52 (GMT)
committerGiles Bathgate <gilesbathgate@gmail.com>2011-07-03 12:54:52 (GMT)
commitf8d4b225365b64a8eda122153c6329eea1f686d0 (patch)
tree6f8a2ce9fdf9353bed4cc9cfaa85ccf711b5cbd1 /src/glview.cc
parent7d4ba81068f43d498251495227e4e83f6164873b (diff)
The first time the setting is read it will be undefined so need to default to true.
Diffstat (limited to 'src/glview.cc')
-rw-r--r--src/glview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glview.cc b/src/glview.cc
index 16ab0e6..ef023f2 100644
--- a/src/glview.cc
+++ b/src/glview.cc
@@ -187,7 +187,7 @@ void GLView::initializeGL()
} else {
opencsg_support = false;
QSettings settings;
- if (settings.value("editor/opengl20_warning_show").toBool()) {
+ if (settings.value("editor/opengl20_warning_show",true).toBool()) {
QTimer::singleShot(0, this, SLOT(display_opengl20_warning()));
}
}
contact: Jan Huwald // Impressum