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
kdenlive
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
0
Merge Requests
0
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
Farid Abdelnour
kdenlive
Commits
8216494a
Commit
8216494a
authored
Jul 23, 2012
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getNewStuff: Use QPointer [krazy 29/37] by Mikko Rapeli
parent
e528979c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/mainwindow.cpp
src/mainwindow.cpp
+4
-3
No files found.
src/mainwindow.cpp
View file @
8216494a
...
...
@@ -3756,13 +3756,14 @@ int MainWindow::getNewStuff(const QString &configFile)
{
KNS3
::
Entry
::
List
entries
;
#if KDE_IS_VERSION(4,3,80)
KNS3
::
DownloadDialog
d
ialog
(
configFile
);
dialog
.
exec
();
entries
=
dialog
.
changedEntries
();
QPointer
<
KNS3
::
DownloadDialog
>
dialog
=
new
KNS3
::
DownloadD
ialog
(
configFile
);
dialog
->
exec
();
entries
=
dialog
->
changedEntries
();
foreach
(
const
KNS3
::
Entry
&
entry
,
entries
)
{
if
(
entry
.
status
()
==
KNS3
::
Entry
::
Installed
)
kDebug
()
<<
"// Installed files: "
<<
entry
.
installedFiles
();
}
delete
dialog
;
#else
KNS
::
Engine
engine
(
0
);
if
(
engine
.
init
(
configFile
))
...
...
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