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
Tobias Hunger
qt-creator
Commits
3a028c09
Commit
3a028c09
authored
Feb 24, 2010
by
ck
Browse files
Maemo: Catch Botan exceptions.
Task-number: TOOLS-297
parent
b7650d34
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp
View file @
3a028c09
...
...
@@ -41,6 +41,8 @@
#include
"maemosshthread.h"
#include
<exception>
namespace
Qt4ProjectManager
{
namespace
Internal
{
...
...
@@ -62,6 +64,10 @@ void MaemoSshThread::run()
runInternal
();
}
catch
(
const
MaemoSshException
&
e
)
{
m_error
=
e
.
error
();
}
catch
(
const
std
::
exception
&
e
)
{
// Should in theory not be necessary, but Net7 leaks Botan exceptions.
m_error
=
tr
(
"Error in cryptography backend: "
)
+
QLatin1String
(
e
.
what
());
}
}
...
...
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