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
K3b
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
1
Merge Requests
1
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
Multimedia
K3b
Commits
9bf5cdee
Commit
9bf5cdee
authored
Jun 09, 2017
by
Leslie Zhai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix BurnProgressDialog delete wrongly issue.
CCBUG: 379849
parent
cb723c52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/misc/k3bmediacopydialog.cpp
src/misc/k3bmediacopydialog.cpp
+2
-6
No files found.
src/misc/k3bmediacopydialog.cpp
View file @
9bf5cdee
...
@@ -286,12 +286,11 @@ void K3b::MediaCopyDialog::slotStartClicked()
...
@@ -286,12 +286,11 @@ void K3b::MediaCopyDialog::slotStartClicked()
dlg
=
new
K3b
::
BurnProgressDialog
(
parentWidget
()
);
dlg
=
new
K3b
::
BurnProgressDialog
(
parentWidget
()
);
}
}
dlg
->
setAttribute
(
Qt
::
WA_DeleteOnClose
);
K3b
::
BurnJob
*
burnJob
=
0
;
K3b
::
BurnJob
*
burnJob
=
0
;
if
(
m_comboCopyMode
->
currentIndex
()
==
1
)
{
if
(
m_comboCopyMode
->
currentIndex
()
==
1
)
{
#ifdef K3B_DEBUG
qDebug
()
<<
"DEBUG:"
<<
__PRETTY_FUNCTION__
<<
m_tempDirSelectionWidget
->
tempPath
();
#endif
//
//
// check for m_tempDirSelectionWidget->tempPath() and
// check for m_tempDirSelectionWidget->tempPath() and
// m_tempDirSelectionWidget-tempPath() + ".toc"
// m_tempDirSelectionWidget-tempPath() + ".toc"
...
@@ -302,7 +301,6 @@ void K3b::MediaCopyDialog::slotStartClicked()
...
@@ -302,7 +301,6 @@ void K3b::MediaCopyDialog::slotStartClicked()
i18n
(
"File Exists"
),
i18n
(
"File Exists"
),
KStandardGuiItem
::
overwrite
()
)
KStandardGuiItem
::
overwrite
()
)
!=
KMessageBox
::
Continue
)
!=
KMessageBox
::
Continue
)
delete
dlg
;
return
;
return
;
}
}
...
@@ -312,7 +310,6 @@ void K3b::MediaCopyDialog::slotStartClicked()
...
@@ -312,7 +310,6 @@ void K3b::MediaCopyDialog::slotStartClicked()
i18n
(
"File Exists"
),
i18n
(
"File Exists"
),
KStandardGuiItem
::
overwrite
()
)
KStandardGuiItem
::
overwrite
()
)
!=
KMessageBox
::
Continue
)
!=
KMessageBox
::
Continue
)
delete
dlg
;
return
;
return
;
}
}
...
@@ -376,7 +373,6 @@ void K3b::MediaCopyDialog::slotStartClicked()
...
@@ -376,7 +373,6 @@ void K3b::MediaCopyDialog::slotStartClicked()
else
{
else
{
// do not translate this as it is not intended to be included in the stable version!
// do not translate this as it is not intended to be included in the stable version!
KMessageBox
::
sorry
(
this
,
"Ups"
,
"No copy support for this source media type yet."
);
KMessageBox
::
sorry
(
this
,
"Ups"
,
"No copy support for this source media type yet."
);
delete
dlg
;
return
;
return
;
}
}
...
...
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