~artmello/gallery-app/gallery-app-fullscreen_on_device

« back to all changes in this revision

Viewing changes to tests/unittests/stubs/photo_stub.cpp

  • Committer: CI Train Bot
  • Author(s): Arthur Mello
  • Date: 2015-01-08 20:32:28 UTC
  • mfrom: (1121.1.3 gallery-app-handle_gif_files)
  • Revision ID: ci_train_bot_citrain_user@canonical.com-20150108203228-ra86ul8sfzojiq3f
Make gallery display files that are not supported by QImageWriter or that do not have metadata
Disable the editing options for files that are not supported by QImageWriter Fixes: #1403205

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
    return true;
123
123
}
124
124
 
 
125
bool Photo::canBeEdited() const
 
126
{
 
127
    return true;
 
128
}
 
129
 
125
130
void Photo::rotateRight()
126
131
{
127
132
}