Skip to content

Commit

Permalink
Remove dead desktopmodel/widget code
Browse files Browse the repository at this point in the history
  • Loading branch information
sjg20 committed Mar 2, 2014
1 parent fc5a89d commit c028517
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions desktopmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ bool Desktopmodel::setData(const QModelIndex &index, const QVariant &value, int
{
QString pagename;

// getImagePreview (index, -1, di->pixmap, pagename); // File will take care of this
// updatePixmap (*di, pagename);
f->pixmap (true);
//FIXME: better to emit our own signal which tells Desktopdelegate to just update the pixmap
_minor_change = true;
Expand Down
3 changes: 0 additions & 3 deletions desktopwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1056,13 +1056,11 @@ void Desktopwidget::slotItemClicked (const QModelIndex &index, int which)
case Desktopdelegate::Point_left : // left
pageLeft (index);
changed = true;
// emit itemSelected (index);
break;

case Desktopdelegate::Point_right : // right
pageRight (index);
changed = true;
// emit itemSelected (index);
break;

case Desktopdelegate::Point_page : // page button
Expand All @@ -1079,7 +1077,6 @@ void Desktopwidget::slotItemClicked (const QModelIndex &index, int which)
QVariant v = num - 1;

model->setData (index, v, Desktopmodel::Role_pagenum);
// emit itemSelected (index);
changed = true;
}
break;
Expand Down

0 comments on commit c028517

Please sign in to comment.