Commit 3cd2d211 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix adding multiple symlinks to a data project

A bit sad that the break was added because someone reported that it gave
a warning and noone took the time to read the code and say "no but the
fallthrough here is intentional"

BUGS: 416487
CCBUGS: 385677
parent b5307e5e
...@@ -468,12 +468,13 @@ void K3b::DataUrlAddingDialog::slotAddUrls() ...@@ -468,12 +468,13 @@ void K3b::DataUrlAddingDialog::slotAddUrls()
KStandardGuiItem::cancel()) ) { KStandardGuiItem::cancel()) ) {
case 2: case 2:
m_bFolderLinksFollowAll = true; m_bFolderLinksFollowAll = true;
break; // fall-through
case 1: case 1:
followLink = true; followLink = true;
break; break;
case 4: case 4:
m_bFolderLinksAddAll = true; m_bFolderLinksAddAll = true;
// fall-through
case 3: case 3:
followLink = false; followLink = false;
break; break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment