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
KNotes
Commits
8ee9ebf2
Commit
8ee9ebf2
authored
Feb 14, 2021
by
Laurent Montel
😁
Browse files
Port to QtQuickDialogWrapper
parent
be9eb36e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/knoteconfigmodule.cpp
View file @
8ee9ebf2
...
...
@@ -18,7 +18,7 @@
#include "configdialog/knoteeditorconfigwidget.h"
#include <KAuthorized>
#include <KLocalizedString>
#include <KN
S3/DownloadDialog
>
#include <KN
ewStuff3/KNS3/QtQuickDialogWrapper
>
#include <QCheckBox>
#include <QLabel>
...
...
@@ -167,14 +167,9 @@ KNotePrintConfig::KNotePrintConfig(QWidget *parent)
void
KNotePrintConfig
::
slotDownloadNewThemes
()
{
QPointer
<
KNS3
::
DownloadDialog
>
downloadThemesDialog
=
new
KNS3
::
DownloadDialog
(
QStringLiteral
(
"knotes_printing_theme.knsrc"
));
if
(
downloadThemesDialog
->
exec
())
{
if
(
!
downloadThemesDialog
->
changedEntries
().
isEmpty
())
{
mSelectTheme
->
loadThemes
();
}
if
(
!
KNS3
::
QtQuickDialogWrapper
(
QStringLiteral
(
"kwinswitcher.knsrc"
)).
exec
().
isEmpty
())
{
mSelectTheme
->
loadThemes
();
}
delete
downloadThemesDialog
;
}
void
KNotePrintConfig
::
slotThemeChanged
()
...
...
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