Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Telemetry
KUserFeedback
Commits
aa1cf053
Commit
aa1cf053
authored
Dec 20, 2016
by
Volker Krause
Browse files
Reload data after importing
parent
66c12406
Changes
1
Hide whitespace changes
Inline
Side-by-side
analyzer/analytics/analyticsview.cpp
View file @
aa1cf053
...
...
@@ -204,7 +204,9 @@ void AnalyticsView::importData()
auto
reply
=
RESTApi
::
addSamples
(
m_client
,
m_dataModel
->
product
(),
samples
);
connect
(
reply
,
&
QNetworkReply
::
finished
,
this
,
[
this
,
reply
]()
{
if
(
reply
->
error
()
==
QNetworkReply
::
NoError
)
if
(
reply
->
error
()
==
QNetworkReply
::
NoError
)
{
emit
logMessage
(
tr
(
"Samples imported."
));
m_dataModel
->
reload
();
}
});
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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