Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
18cc6c2d
Verified
Commit
18cc6c2d
authored
Apr 22, 2022
by
Fushan Wen
Browse files
widgetexplorer: Replace `d->newStuffDialog` with `WidgetExplorerPrivate::newStuffDialog`
It's clearer in the relevant code.
parent
02e5a784
Pipeline
#166964
passed with stage
in 13 minutes and 12 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
components/shellprivate/widgetexplorer/widgetexplorer.cpp
View file @
18cc6c2d
...
...
@@ -452,11 +452,11 @@ void WidgetExplorer::immutabilityChanged(Plasma::Types::ImmutabilityType type)
void
WidgetExplorer
::
downloadWidgets
()
{
if
(
d
->
newStuffDialog
.
isNull
())
{
d
->
newStuffDialog
=
new
KNS3
::
QtQuickDialogWrapper
(
QStringLiteral
(
"plasmoids.knsrc"
));
connect
(
d
->
newStuffDialog
,
&
KNS3
::
QtQuickDialogWrapper
::
closed
,
d
->
newStuffDialog
,
&
QObject
::
deleteLater
);
if
(
WidgetExplorerPrivate
::
newStuffDialog
.
isNull
())
{
WidgetExplorerPrivate
::
newStuffDialog
=
new
KNS3
::
QtQuickDialogWrapper
(
QStringLiteral
(
"plasmoids.knsrc"
));
connect
(
WidgetExplorerPrivate
::
newStuffDialog
,
&
KNS3
::
QtQuickDialogWrapper
::
closed
,
WidgetExplorerPrivate
::
newStuffDialog
,
&
QObject
::
deleteLater
);
d
->
newStuffDialog
->
open
();
WidgetExplorerPrivate
::
newStuffDialog
->
open
();
}
Q_EMIT
shouldClose
();
...
...
Fushan Wen
@fusionfuture
mentioned in commit
943a575a
·
Apr 22, 2022
mentioned in commit
943a575a
mentioned in commit 943a575a169b27859436c3b0fcdf210dd7fa258a
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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