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
c7ad4ade
Commit
c7ad4ade
authored
Sep 29, 2009
by
Oswald Buddenhagen
Browse files
report plugin loading problems to the user
parent
ba9e0b8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/main.cpp
View file @
c7ad4ade
...
...
@@ -313,6 +313,17 @@ int main(int argc, char **argv)
displayError
(
msgCoreLoadFailure
(
coreplugin
->
errorString
()));
return
1
;
}
{
QStringList
errors
;
foreach
(
ExtensionSystem
::
PluginSpec
*
p
,
pluginManager
.
plugins
())
if
(
p
->
hasError
())
errors
.
append
(
p
->
errorString
());
if
(
!
errors
.
isEmpty
())
QMessageBox
::
warning
(
0
,
QCoreApplication
::
translate
(
"Application"
,
"Qt Creator - Plugin loader messages"
),
errors
.
join
(
QString
::
fromLatin1
(
"
\n\n
"
)));
}
if
(
isFirstInstance
)
{
// Set up lock and remote arguments for the first instance only.
// Silently fallback to unconnected instances for any subsequent
...
...
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