diff options
| author | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2014-07-07 00:17:05 +0300 |
|---|---|---|
| committer | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2014-07-07 00:17:05 +0300 |
| commit | d5ad90b696bbcc8551a1fe707406cb1dae5f8f19 (patch) | |
| tree | b4a51b7ff74b73f11d85e66c8c483a1ceadefa62 /dash | |
| parent | bb062b4c44d08acdfbb98d169a09ebad07b3642e (diff) | |
removed unnecessary check
(bzr r3823.8.7)
Diffstat (limited to 'dash')
| -rw-r--r-- | dash/DashView.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dash/DashView.cpp b/dash/DashView.cpp index e140d3d7b..085343d6f 100644 --- a/dash/DashView.cpp +++ b/dash/DashView.cpp @@ -263,12 +263,9 @@ void DashView::BuildPreview(Preview::Ptr model) } else { - if (preview_container_) - { - // got a new preview whilst already displaying, we probably clicked a navigation button. - preview_container_->Preview(model, preview_navigation_mode_); // TODO - preview_container_->scale = cv_->DPIScale(); - } + // got a new preview whilst already displaying, we probably clicked a navigation button. + preview_container_->Preview(model, preview_navigation_mode_); // TODO + preview_container_->scale = cv_->DPIScale(); } if (G_LIKELY(preview_state_machine_.left_results() > 0 && preview_state_machine_.right_results() > 0)) |
