Skip to content
This repository
Browse code

Make some things clearer in the code and comments.

  • Loading branch information...
commit 0e0eda0773834dd93259ddbd0017ee791cf243df 1 parent a737829
atomopawn authored May 21, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/basketview.cpp
4  src/basketview.cpp
@@ -351,7 +351,7 @@ void BasketView::unplugNote(Note *note)
351 351
             note->parentNote()->setFirstChild(note->next());
352 352
 
353 353
         if (!note->parentNote()->isColumn()) {
354  
-            // Ungroup if still 0 note inside parent group:
  354
+            // Delete parent if now 0 notes inside parent group:
355 355
             if (! note->parentNote()->firstChild())
356 356
                 unplugNote(note->parentNote()); // TODO delete
357 357
 
@@ -4034,7 +4034,7 @@ void BasketView::noteDeleteWithoutConfirmation(bool deleteFilesToo)
4034 4034
 void BasketView::doCopy(CopyMode copyMode)
4035 4035
 {
4036 4036
     QClipboard *cb = KApplication::clipboard();
4037  
-    QClipboard::Mode mode = (copyMode == CopyToSelection ? QClipboard::Selection : QClipboard::Clipboard);
  4037
+    QClipboard::Mode mode = ((copyMode == CopyToSelection) ? QClipboard::Selection : QClipboard::Clipboard);
4038 4038
 
4039 4039
     NoteSelection *selection = selectedNotes();
4040 4040
     int countCopied = countSelecteds();

0 notes on commit 0e0eda0

Please sign in to comment.
Something went wrong with that request. Please try again.