[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kalarm
From: David Jarvie <software () astrojar ! org ! uk>
Date: 2008-02-17 18:32:24
Message-ID: 1203273144.559984.5572.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 776261 by djarvie:
Remove unused parameter
M +3 -3 find.cpp
M +3 -3 find.h
--- trunk/KDE/kdepim/kalarm/find.cpp #776260:776261
@@ -231,7 +231,7 @@
{
mFind->setPattern(mDialog->pattern());
mFind->setOptions(options);
- findNext(true, true, false);
+ findNext(true, false);
}
else
{
@@ -256,7 +256,7 @@
// Execute the search
mFound = false;
- findNext(true, false, fromCurrent);
+ findNext(true, fromCurrent);
if (mFind)
emit active(true);
}
@@ -267,7 +267,7 @@
* If 'fromCurrent' is true, the search starts with the current search item;
* otherwise, it starts from the next item.
*/
-void Find::findNext(bool forward, bool sort, bool fromCurrent)
+void Find::findNext(bool forward, bool fromCurrent)
{
QModelIndex index;
if (!mNoCurrentItem)
--- trunk/KDE/kdepim/kalarm/find.h #776260:776261
@@ -1,7 +1,7 @@
/*
* find.h - search facility
* Program: kalarm
- * Copyright © 2005-2007 by David Jarvie <software@astrojar.org.uk>
+ * Copyright © 2005-2008 by David Jarvie <djarvie@kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -40,7 +40,7 @@
explicit Find(EventListView* parent);
~Find();
void display();
- void findNext(bool forward) { findNext(forward, true); }
+ void findNext(bool forward) { findNext(forward, false); }
signals:
void active(bool);
@@ -50,7 +50,7 @@
void slotKFindDestroyed() { emit active(false); }
private:
- void findNext(bool forward, bool sort, bool fromCurrent = false);
+ void findNext(bool forward, bool fromCurrent);
QModelIndex nextItem(const QModelIndex&, bool forward) const;
EventListView* mListView; // parent list view
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic