TestMyQt / Qt-CreatorTMC

Qt Creator plugin for TestMyCode (TMC) at University of Helsinki
https://testmycode.github.io
GNU Lesser General Public License v3.0
0 stars 1 forks source link

TmcClient hardcoded API URL #23

Closed kimmoal closed 6 years ago

kimmoal commented 6 years ago

Make API endpoint URL a setting in TmcClient, for example: API_BASEURL = "https://tmc.mooc.fi/api/" ... QUrl url(QString(API_BASEURL + "v8/core/exercises/%1/download").arg(ex->getId()));

kimmoal commented 6 years ago

Fixed in QSettings branch