diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-14 11:23:37 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-14 11:23:37 +0100 |
commit | 3e1ac6fb3f9865bf5bb0c156e985c1a4577b20e0 (patch) | |
tree | c0febbda6a1eff4693e856eb0bee65b3ac400136 /src/bookmarks | |
parent | rekonq 0.3.91 (diff) | |
download | rekonq-3e1ac6fb3f9865bf5bb0c156e985c1a4577b20e0.tar.xz |
Krazy issues (1st branch)
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/bookmarksproxy.h | 8 | ||||
-rw-r--r-- | src/bookmarks/bookmarkstreemodel.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/bookmarks/bookmarksproxy.h b/src/bookmarks/bookmarksproxy.h index fcd49673..a1444218 100644 --- a/src/bookmarks/bookmarksproxy.h +++ b/src/bookmarks/bookmarksproxy.h @@ -37,13 +37,13 @@ class BookmarksProxy : public QSortFilterProxyModel Q_DISABLE_COPY(BookmarksProxy) public: - BookmarksProxy( QObject *parent = 0 ); + BookmarksProxy( QObject *parent = 0 ); protected: - virtual bool filterAcceptsRow( int source_row, const QModelIndex &source_parent ) const; + virtual bool filterAcceptsRow( int source_row, const QModelIndex &source_parent ) const; - // returns true if any child(or childs-child...) matches filter - bool recursiveMatch( const QModelIndex &index ) const; + // returns true if any child(or children-child...) matches filter + bool recursiveMatch( const QModelIndex &index ) const; }; #endif // BOOKMARKSPROXY_H diff --git a/src/bookmarks/bookmarkstreemodel.cpp b/src/bookmarks/bookmarkstreemodel.cpp index f80fdc74..95e5ad41 100644 --- a/src/bookmarks/bookmarkstreemodel.cpp +++ b/src/bookmarks/bookmarkstreemodel.cpp @@ -268,7 +268,7 @@ void BookmarksTreeModel::bookmarksChanged( const QString &groupAddress ) QModelIndex nodeIndex; QStringList indexChain( groupAddress.split( '/', QString::SkipEmptyParts) ); - foreach( QString sIndex, indexChain ) + foreach( const QString &sIndex, indexChain ) { bool ok; int i = sIndex.toInt( &ok ); |