Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plasma applet for NetworkManager
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Plasma applet for NetworkManager
Commits
0ebb1756
Commit
0ebb1756
authored
Jun 01, 2017
by
Jan Grulich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Openconnect: make sure we accept the dialog
BUG:380299
parent
a3df0adb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vpn/openconnect/openconnectauth.cpp
vpn/openconnect/openconnectauth.cpp
+7
-1
No files found.
vpn/openconnect/openconnectauth.cpp
View file @
0ebb1756
...
...
@@ -253,7 +253,13 @@ void OpenconnectAuthWidget::readSecrets()
void
OpenconnectAuthWidget
::
acceptDialog
()
{
QDialog
*
dialog
=
qobject_cast
<
QDialog
*>
(
parentWidget
());
// Find top-level widget as this should be the QDialog itself
QWidget
*
widget
=
parentWidget
();
while
(
widget
->
parentWidget
()
!=
nullptr
)
{
widget
=
widget
->
parentWidget
();
}
QDialog
*
dialog
=
qobject_cast
<
QDialog
*>
(
widget
);
if
(
dialog
)
{
dialog
->
accept
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment