mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
user report_info() instead of qDebug in main() functions
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
4af2ec88bd
commit
2c2ad1e5c9
3 changed files with 20 additions and 23 deletions
|
@ -33,7 +33,6 @@
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
|
||||
|
||||
|
@ -45,7 +44,7 @@ int main(int argc, char **argv)
|
|||
|
||||
subsurface_console_init();
|
||||
|
||||
for (i = 1; i < arguments.length(); i++) {
|
||||
for (int i = 1; i < arguments.length(); i++) {
|
||||
QString a = arguments.at(i);
|
||||
if (!a.isEmpty() && a.at(0) == '-') {
|
||||
parse_argument(qPrintable(a));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue