[haiku-commits] haiku: hrev47385 - src/apps/webpositive

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 16 Jun 2014 11:17:11 +0200 (CEST)

hrev47385 adds 1 changeset to branch 'master'
old head: eb718e31d22dded84f10f218d3a380ef5707dee1
new head: da802e25b747b4c1c280d3be5acfeb2d2fc18fef
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=da802e2+%5Eeb718e3

----------------------------------------------------------------------------

da802e2: Style fix.

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev47385
Commit:      da802e25b747b4c1c280d3be5acfeb2d2fc18fef
URL:         http://cgit.haiku-os.org/haiku/commit/?id=da802e2
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Mon Jun 16 09:14:00 2014 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 2 deletions(-)
src/apps/webpositive/DownloadProgressView.cpp | 3 +--

----------------------------------------------------------------------------

diff --git a/src/apps/webpositive/DownloadProgressView.cpp 
b/src/apps/webpositive/DownloadProgressView.cpp
index cc1ff7b..52eaa9b 100644
--- a/src/apps/webpositive/DownloadProgressView.cpp
+++ b/src/apps/webpositive/DownloadProgressView.cpp
@@ -645,8 +645,7 @@ DownloadProgressView::DownloadCanceled()
        // Show the cancel notification, and set the progress bar red, only if 
the
        // download was still running. In cases where the file is deleted after
        // the download was finished, we don't want these things to happen.
-       if (fDownload)
-       {
+       if (fDownload) {
                BNotification success(B_ERROR_NOTIFICATION);
                success.SetTitle(B_TRANSLATE("Download aborted"));
                success.SetContent(fPath.Leaf());


Other related posts:

  • » [haiku-commits] haiku: hrev47385 - src/apps/webpositive - pulkomandy