Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
85430926
Commit
85430926
authored
Apr 16, 2010
by
con
Browse files
Never nag again about Qt Quick Visual Designer after pressing X, or enabling it once.
Reviewed-by: kkoehne
parent
8d2f5f20
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljseditor/qmljseditorfactory.cpp
View file @
85430926
...
...
@@ -176,6 +176,7 @@ void QmlJSEditorFactory::activateQmlDesigner()
disconnect
(
Core
::
EditorManager
::
instance
(),
SIGNAL
(
currentEditorChanged
(
Core
::
IEditor
*
)),
this
,
SLOT
(
updateEditorInfoBar
(
Core
::
IEditor
*
)));
Core
::
EditorManager
::
instance
()
->
hideEditorInfoBar
(
QMLDESIGNER_INFO_BAR
);
neverAskAgainAboutQmlDesigner
();
return
;
}
}
...
...
@@ -188,6 +189,7 @@ void QmlJSEditorFactory::neverAskAgainAboutQmlDesigner()
settings
->
beginGroup
(
QLatin1String
(
KEY_QMLGROUP
));
settings
->
setValue
(
QLatin1String
(
KEY_NAGABOUTDESIGNER
),
false
);
settings
->
endGroup
();
settings
->
sync
();
disconnect
(
Core
::
EditorManager
::
instance
(),
SIGNAL
(
currentEditorChanged
(
Core
::
IEditor
*
)),
this
,
SLOT
(
updateEditorInfoBar
(
Core
::
IEditor
*
)));
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment