Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM GrantleeTheme
Commits
4e26aa55
Commit
4e26aa55
authored
Feb 14, 2021
by
Laurent Montel
😁
Browse files
Port to KNewStuff3/KNS3/QtQuickDialogWrapper
parent
0b5cf460
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grantleethememanager.cpp
View file @
4e26aa55
...
...
@@ -13,7 +13,7 @@
#include <KConfigGroup>
#include <KDirWatch>
#include <KLocalizedString>
#include <KN
S3/DownloadDialog
>
#include <KN
ewStuff3/KNS3/QtQuickDialogWrapper
>
#include <KSharedConfig>
#include <KToggleAction>
#include <QAction>
...
...
@@ -74,17 +74,11 @@ public:
{
removeActions
();
themes
.
clear
();
if
(
downloadThemesDialog
)
{
delete
downloadThemesDialog
.
data
();
}
}
void
slotDownloadHeaderThemes
()
{
if
(
!
downloadThemesDialog
)
{
downloadThemesDialog
=
new
KNS3
::
DownloadDialog
(
downloadConfigFileName
);
}
downloadThemesDialog
.
data
()
->
show
();
KNS3
::
QtQuickDialogWrapper
(
downloadConfigFileName
).
exec
();
}
void
directoryChanged
()
...
...
@@ -267,7 +261,6 @@ public:
QAction
*
separatorAction
=
nullptr
;
QAction
*
downloadThemesAction
=
nullptr
;
QPointer
<
KNS3
::
DownloadDialog
>
downloadThemesDialog
;
ThemeManager
*
const
q
;
};
...
...
Write
Preview
Supports
Markdown
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