mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: replace fprintf to stderr by report_info()
Let's try to unify debugging output! Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
b097c0a44f
commit
da7ea17b66
29 changed files with 171 additions and 170 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include "stats/statsview.h"
|
||||
#include "core/devicedetails.h"
|
||||
#include "core/errorhelper.h"
|
||||
#include "core/globals.h"
|
||||
#include "core/qt-gui.h"
|
||||
#include "core/settings/qPref.h"
|
||||
|
@ -146,7 +147,7 @@ void run_mobile_ui(double initial_font_size)
|
|||
qDebug() << "loaded main.qml";
|
||||
qqWindowObject = engine.rootObjects().value(0);
|
||||
if (!qqWindowObject) {
|
||||
fprintf(stderr, "can't create window object\n");
|
||||
report_info("can't create window object");
|
||||
exit(1);
|
||||
}
|
||||
QQuickWindow *qml_window = qobject_cast<QQuickWindow *>(qqWindowObject);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue