summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/findwndimpl.cpp
Unidiff
Diffstat (limited to 'pwmanager/pwmanager/findwndimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/findwndimpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pwmanager/pwmanager/findwndimpl.cpp b/pwmanager/pwmanager/findwndimpl.cpp
index 059219f..d323133 100644
--- a/pwmanager/pwmanager/findwndimpl.cpp
+++ b/pwmanager/pwmanager/findwndimpl.cpp
@@ -104,35 +104,35 @@ void FindWndImpl::findButton_slot()
104 foundPositions[currFoundPos++]); 104 foundPositions[currFoundPos++]);
105 emit foundAt(numEntries - 1 - lvp); 105 emit foundAt(numEntries - 1 - lvp);
106 106
107 if (currFoundPos + 1 > static_cast<int>(foundPositions.size())) 107 if (currFoundPos + 1 > static_cast<int>(foundPositions.size()))
108 currFoundPos = 0; 108 currFoundPos = 0;
109} 109}
110 110
111 111
112#ifdef PWM_EMBEDDED 112#ifdef PWM_EMBEDDED
113void FindWndImpl::slotOk() 113void FindWndImpl::slotOk()
114{ 114{
115 findButton_slot(); 115 findButton_slot();
116 116
117 //do not call KDialogBase::slotOk() here 117 //do not call KDialogBase::slotOk() here
118 // user should press the close button instead 118 // user should press the close button instead
119} 119}
120#endif 120#endif
121 121
122void FindWndImpl::closeButton_slot() 122void FindWndImpl::closeButton_slot()
123{ 123{
124#ifndef PWM_EMBEDDED 124#ifndef PWM_EMBEDDED
125 done(0); 125 done(0);
126#endif 126#endif
127} 127}
128 128
129void FindWndImpl::selectionChanged_slot() 129void FindWndImpl::selectionChanged_slot()
130{ 130{
131 fAt = 0; 131 fAt = 0;
132 refVal = 0; 132 refVal = 0;
133 currFoundPos = -1; 133 currFoundPos = -1;
134} 134}
135 135
136#ifndef PWM_EMBEDDED 136#ifndef PWM_EMBEDDED_
137#include "findwndimpl.moc" 137#include "moc_findwndimpl.cpp"
138#endif 138#endif