[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kphotoalbum] /: Fix typo.
From: Johannes Zarl <isilmendil () isilme ! lupus ! uberspace ! de>
Date: 2013-05-26 18:32:02
Message-ID: 20130526183202.ED308A605B () git ! kde ! org
[Download RAW message or body]
Git commit debdbfc2634b54546a4961fd297108064b473b50 by Johannes Zarl.
Committed on 26/05/2013 at 15:29.
Pushed by johanneszarl into branch 'master'.
Fix typo.
M +2 -2 ImageManager/VideoThumbnails.cpp
M +1 -1 ImageManager/VideoThumbnails.h
M +1 -1 ThumbnailView/SelectionMaintainer.cpp
http://commits.kde.org/kphotoalbum/debdbfc2634b54546a4961fd297108064b473b50
diff --git a/ImageManager/VideoThumbnails.cpp b/ImageManager/VideoThumbnails.cpp
index 8f57008..ef8b7a7 100644
--- a/ImageManager/VideoThumbnails.cpp
+++ b/ImageManager/VideoThumbnails.cpp
@@ -38,7 +38,7 @@ void ImageManager::VideoThumbnails::setVideoFile(const DB::FileName &fileName)
if ( loadFramesFromCache(fileName) )
return;
- cancelPrevioiusJobs();
+ cancelPreviousJobs();
m_pendingRequest = 0;
for ( int i= 0; i < 10; ++i )
m_cache[i] = QImage();
@@ -98,7 +98,7 @@ bool ImageManager::VideoThumbnails::loadFramesFromCache(const DB::FileName& file
return true;
}
-void ImageManager::VideoThumbnails::cancelPrevioiusJobs()
+void ImageManager::VideoThumbnails::cancelPreviousJobs()
{
Q_FOREACH( const QPointer<BackgroundJobs::ExtractOneThumbnailJob>& job, m_activeRequests ) {
if (! job.isNull() )
diff --git a/ImageManager/VideoThumbnails.h b/ImageManager/VideoThumbnails.h
index cfa055f..458eeb6 100644
--- a/ImageManager/VideoThumbnails.h
+++ b/ImageManager/VideoThumbnails.h
@@ -53,7 +53,7 @@ private slots:
private:
bool loadFramesFromCache(const DB::FileName& fileName);
- void cancelPrevioiusJobs();
+ void cancelPreviousJobs();
DB::FileName m_videoFile;
QVector<QImage> m_cache;
diff --git a/ThumbnailView/SelectionMaintainer.cpp b/ThumbnailView/SelectionMaintainer.cpp
index f5f9c21..c1e9cc1 100644
--- a/ThumbnailView/SelectionMaintainer.cpp
+++ b/ThumbnailView/SelectionMaintainer.cpp
@@ -38,7 +38,7 @@ ThumbnailView::SelectionMaintainer::~SelectionMaintainer()
// We need to set the current item before we set the selection
m_widget->setCurrentItem(m_currentItem);
- // If the previoius current item was deleted, then set the last item of the selection current
+ // If the previous current item was deleted, then set the last item of the selection current
// This, however, need to be an actualt item, some of the previous selected items might have been deleted.
if ( m_widget->currentItem().isNull() ) {
for ( int i = m_selectedItems.size()-1; i >= 0; --i ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic