mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: turn testqml into a std::string
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9509eb6876
commit
a133c6c4db
3 changed files with 10 additions and 8 deletions
|
@ -133,8 +133,8 @@ void run_mobile_ui(double initial_font_size)
|
|||
qmlRegisterUncreatableType<QMLManager>("org.subsurfacedivelog.mobile",1,0,"ExportType","Enum is not a type");
|
||||
|
||||
#ifdef SUBSURFACE_MOBILE_DESKTOP
|
||||
if (testqml) {
|
||||
QString fileLoad(testqml);
|
||||
if (!testqml.empty()) {
|
||||
QString fileLoad(testqml.c_str());
|
||||
fileLoad += "/main.qml";
|
||||
engine.load(QUrl(fileLoad));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue