mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2025-01-05 18:25:58 +03:00
Inline single-use variable
This commit is contained in:
parent
9814125fcf
commit
2001b17815
3
main.cpp
3
main.cpp
@ -95,8 +95,7 @@ int main(int argc, char *argv[])
|
||||
// Set icon in the window, doesn't effect desktop icons.
|
||||
qmlWindow->setIcon(QIcon(path_prefix + "/images/windowicon.png"));
|
||||
// Show root window unless explicitly hidden in settings.
|
||||
auto hideOnLaunch = qmlWindow->property("hideOnLaunch");
|
||||
if (!hideOnLaunch.toBool()) {
|
||||
if (qmlWindow->property("hideOnLaunch").toBool() == false) {
|
||||
qmlWindow->show();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user