Merge pull request #955 from birarda/master

remove call re-setting default setting in InfoView
This commit is contained in:
Stephen Birarda 2013-09-18 14:46:40 -07:00
commit 6b8b698f95

View file

@ -17,9 +17,8 @@
#define SETTINGS_VERSION_KEY "info-version"
#define MAX_DIALOG_HEIGHT_RATIO 0.9
InfoView::InfoView(bool forced) {
_forced = forced;
settings()->setAttribute(QWebSettings::LocalContentCanAccessFileUrls, true);
InfoView::InfoView(bool forced) :
_forced(forced) {
switchToResourcesParentIfRequired();
QString absPath = QFileInfo("resources/html/interface-welcome-allsvg.html").absoluteFilePath();