|
|
@ -2534,7 +2534,7 @@ void kdesvnfilelist::_dirwatchTimeout()
|
|
|
|
TQMap<TQString,TQChar>::Iterator it;
|
|
|
|
TQMap<TQString,TQChar>::Iterator it;
|
|
|
|
m_pList->m_fileTip->setItem(0);
|
|
|
|
m_pList->m_fileTip->setItem(0);
|
|
|
|
viewport()->setUpdatesEnabled(false);
|
|
|
|
viewport()->setUpdatesEnabled(false);
|
|
|
|
bool tqrepaintit=false;
|
|
|
|
bool repaintit=false;
|
|
|
|
for (it=m_pList->dirItems.begin();it!=m_pList->dirItems.end();++it)
|
|
|
|
for (it=m_pList->dirItems.begin();it!=m_pList->dirItems.end();++it)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQString what = it.key();
|
|
|
|
TQString what = it.key();
|
|
|
@ -2554,7 +2554,7 @@ void kdesvnfilelist::_dirwatchTimeout()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (item->isDir()) {
|
|
|
|
if (item->isDir()) {
|
|
|
|
if (item->isRealVersioned()) {
|
|
|
|
if (item->isRealVersioned()) {
|
|
|
|
tqrepaintit = refreshRecursive(item,false);
|
|
|
|
repaintit = refreshRecursive(item,false);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
TQListViewItem *_s;
|
|
|
|
TQListViewItem *_s;
|
|
|
|
while ( (_s=item->firstChild()))
|
|
|
|
while ( (_s=item->firstChild()))
|
|
|
@ -2578,7 +2578,7 @@ void kdesvnfilelist::_dirwatchTimeout()
|
|
|
|
if (!fi.exists()) {
|
|
|
|
if (!fi.exists()) {
|
|
|
|
FileListViewItem*p = static_cast<FileListViewItem*>(item->tqparent());
|
|
|
|
FileListViewItem*p = static_cast<FileListViewItem*>(item->tqparent());
|
|
|
|
delete item;
|
|
|
|
delete item;
|
|
|
|
tqrepaintit=true;
|
|
|
|
repaintit=true;
|
|
|
|
item = 0;
|
|
|
|
item = 0;
|
|
|
|
if (p && p->isVersioned()) {
|
|
|
|
if (p && p->isVersioned()) {
|
|
|
|
p->update();
|
|
|
|
p->update();
|
|
|
@ -2599,7 +2599,7 @@ void kdesvnfilelist::_dirwatchTimeout()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m_pList->dirItems.clear();
|
|
|
|
m_pList->dirItems.clear();
|
|
|
|
viewport()->setUpdatesEnabled(true);
|
|
|
|
viewport()->setUpdatesEnabled(true);
|
|
|
|
if (tqrepaintit) {
|
|
|
|
if (repaintit) {
|
|
|
|
// viewport()->tqrepaint();
|
|
|
|
// viewport()->tqrepaint();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|