[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [bangarang] src/app/common: Krazy fix: explicit constructor.
From:       Francesco Cecconi <francesco.cecconi () gmail ! com>
Date:       2012-12-11 10:48:22
Message-ID: 20121211104822.20B8AA6091 () git ! kde ! org
[Download RAW message or body]

Git commit 405bc0ffda175b3adeb0433aa8edc378d9545b76 by Francesco Cecconi.
Committed on 11/12/2012 at 11:47.
Pushed by cecconi into branch 'master'.

Krazy fix: explicit constructor.

M  +1    -1    src/app/common/actionsmanager.cpp
M  +1    -1    src/app/common/starrating.h

http://commits.kde.org/bangarang/405bc0ffda175b3adeb0433aa8edc378d9545b76

diff --git a/src/app/common/actionsmanager.cpp b/src/app/common/actionsmanager.cpp
index d40f3ce..55026f6 100644
--- a/src/app/common/actionsmanager.cpp
+++ b/src/app/common/actionsmanager.cpp
@@ -1255,4 +1255,4 @@ void ActionsManager::addShortcuts() // add additional shortcuts that cannot be a
     //set up the shortcuts collection
     m_shortcutsCollection->readSettings(&m_shortcutsConfig);
     ui->shortcutsEditor->addCollection(m_shortcutsCollection);
-}
\ No newline at end of file
+}
diff --git a/src/app/common/starrating.h b/src/app/common/starrating.h
index 6dbf24f..8cf019e 100644
--- a/src/app/common/starrating.h
+++ b/src/app/common/starrating.h
@@ -37,7 +37,7 @@ class StarRating {
 
         static const int Margin = 1;
 
-        StarRating(int rating = 0, int size = Small,
+        explicit StarRating(int rating = 0, int size = Small,
                    QPoint point = QPoint(0, 0), QPoint hoverPos = QPoint(-1, -1));
 
         void setRating(int rating) { m_rating = rating; }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic