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
Romain De Laage De Bellefaye
LO21-projet
Commits
6e0145ff
Verified
Commit
6e0145ff
authored
Jun 11, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
Add error message when selecting automaton from db
parent
f1eb327f
Changes
2
Hide whitespace changes
Inline
Side-by-side
application.db
View file @
6e0145ff
No preview for this file type
src/autocell.cpp
View file @
6e0145ff
...
...
@@ -386,8 +386,13 @@ void AutoCell::afficherErreur(QString& msg){
}
void
AutoCell
::
initAutomate
(
const
QString
&
name
)
{
std
::
cout
<<
name
.
toStdString
()
<<
std
::
endl
;
Database
::
getInstance
().
initSingletonAutomate
(
name
);
try
{
Database
::
getInstance
().
initSingletonAutomate
(
name
);
}
catch
(
const
char
*
m
)
{
QString
msg
(
m
);
afficherErreur
(
msg
);
}
}
void
AutoCell
::
changeDelai
()
{
...
...
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