Skip to content

Commit 523ce69

Browse files
committed
Workaround for Chrome 113
WE2-783 Signed-off-by: Raul Metsma <[email protected]>
1 parent 1556dc6 commit 523ce69

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ elseif($ENV{CI_PIPELINE_IID})
77
else()
88
set(BUILD_NUMBER 0)
99
endif()
10-
project(web-eid VERSION 2.3.0.${BUILD_NUMBER})
10+
project(web-eid VERSION 2.3.1.${BUILD_NUMBER})
1111

1212
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
1313
set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION_TWEAK})

src/ui/ui.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,18 @@
2222

2323
#include "webeiddialog.hpp"
2424

25-
WebEidUI* WebEidUI::createAndShowDialog(const CommandType command)
25+
observer_ptr<WebEidUI> WebEidUI::createAndShowDialog(const CommandType command)
2626
{
27-
auto dialog = new WebEidDialog {};
27+
auto *dialog = new WebEidDialog {};
2828
// close() deletes the dialog automatically if the Qt::WA_DeleteOnClose flag is set.
2929
dialog->setAttribute(Qt::WA_DeleteOnClose);
3030

3131
dialog->showWaitingForCardPage(command);
3232
dialog->activateWindow();
3333
dialog->show();
3434
dialog->raise();
35+
dialog->hide();
36+
dialog->show();
3537

3638
return dialog;
3739
}

0 commit comments

Comments
 (0)