Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyrumple committed Oct 28, 2024
1 parent 0889e2d commit dd116f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client_tools/lms/src/OPE_LMS/external/ex_canvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,16 @@ QString EX_Canvas::pullStudentInfo()

// Make sure to set the current user id and name in the registry
if (_app_settings) {
qDebug() << "Storing student info inthe registry...";
qDebug() << "Storing student info in the registry...";
_app_settings->setValue("student/id", o["id"].toString(""));
_app_settings->setValue("student/name", o["name"].toString(""));
_app_settings->setValue("student/short_name", o["short_name"].toString(""));
_app_settings->setValue("student/sortable_name", o["sortable_name"].toString(""));
_app_settings->sync();

if(_app_settings->status() != QSettings::NoError) {
qDebug() << "Error saving settings" << _app_settings->status();
}
}

} else {
Expand Down

0 comments on commit dd116f0

Please sign in to comment.