summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gallery/model/MediaItem.cpp1
-rw-r--r--gallery/model/helpers.cpp1
-rw-r--r--gallery/view/ImageGrid.cpp2
-rw-r--r--ucl/include/ucl/gui/WidgetItem.h2
-rw-r--r--ucl/source/mvp/GuiPresenter.cpp1
5 files changed, 1 insertions, 6 deletions
diff --git a/gallery/model/MediaItem.cpp b/gallery/model/MediaItem.cpp
index fd21ffc..5af2e9a 100644
--- a/gallery/model/MediaItem.cpp
+++ b/gallery/model/MediaItem.cpp
@@ -500,7 +500,6 @@ namespace gallery {
const int ret = media_info_cancel_thumbnail(m_media);
if (ret != 0) {
-
// XXX In this case complete callback will be called anyway
// We need to report this issue to the platform
m_thumbCbProxy->item = nullptr;
diff --git a/gallery/model/helpers.cpp b/gallery/model/helpers.cpp
index ac08ac2..46f8653 100644
--- a/gallery/model/helpers.cpp
+++ b/gallery/model/helpers.cpp
@@ -31,7 +31,6 @@ namespace gallery { namespace util {
auto result = makeShared<CustomMediaAlbum>();
for (auto &filePath: filePathArray) {
-
auto item = MediaItem::newInstance(filePath);
if (!item) {
WLOG("MediaItem::newInstance() failed. Skipping...");
diff --git a/gallery/view/ImageGrid.cpp b/gallery/view/ImageGrid.cpp
index a456e0a..9bfe4d1 100644
--- a/gallery/view/ImageGrid.cpp
+++ b/gallery/view/ImageGrid.cpp
@@ -424,7 +424,6 @@ namespace gallery {
m_imageHeight = params.imageHeight;
if ((m_imageWidth <= 0) || (m_imageHeight <= 0)) {
-
setImageLoadSize(0);
evas_object_image_file_set(m_image,
@@ -1563,7 +1562,6 @@ namespace gallery {
if ((newEndSlotIndex <= beginSlotIndex) ||
(endSlotIndex <= newBeginSlotIndex)) {
-
unrealizeSlots(0, m_slotCount);
if ((beginSlotIndex ^ newBeginSlotIndex) & 1) {
diff --git a/ucl/include/ucl/gui/WidgetItem.h b/ucl/include/ucl/gui/WidgetItem.h
index 7794444..5c69bd7 100644
--- a/ucl/include/ucl/gui/WidgetItem.h
+++ b/ucl/include/ucl/gui/WidgetItem.h
@@ -60,7 +60,7 @@ namespace ucl {
Evas_Object *getContent() const;
Evas_Object *getContent(EdjePart part) const;
- void emit(EdjeSignal signal,EdjeSignalSrc source =
+ void emit(EdjeSignal signal, EdjeSignalSrc source =
EdjeSignalSrc("")) const;
private:
diff --git a/ucl/source/mvp/GuiPresenter.cpp b/ucl/source/mvp/GuiPresenter.cpp
index e23bc02..517b9f9 100644
--- a/ucl/source/mvp/GuiPresenter.cpp
+++ b/ucl/source/mvp/GuiPresenter.cpp
@@ -71,7 +71,6 @@ namespace ucl {
Result GuiPresenter::prepare(GuiPresenter &parent, const int flags)
{
if (flags & PF_ADD_DEACTIVATOR_SOURCES) {
-
if (!parent.m_sink) {
LOG_RETURN(RES_FAIL, "parent.m_sink is NULL!");
}