[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4621 - gnunet-qt/src/plugins/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r4621 - gnunet-qt/src/plugins/fs |
Date: |
Sat, 3 Mar 2007 17:16:49 -0700 (MST) |
Author: durner
Date: 2007-03-03 17:16:49 -0700 (Sat, 03 Mar 2007)
New Revision: 4621
Modified:
gnunet-qt/src/plugins/fs/uploadController.cc
Log:
new LE also extracts keywords from directory names - only add dir name if not
already present
Modified: gnunet-qt/src/plugins/fs/uploadController.cc
===================================================================
--- gnunet-qt/src/plugins/fs/uploadController.cc 2007-03-03 23:59:29 UTC
(rev 4620)
+++ gnunet-qt/src/plugins/fs/uploadController.cc 2007-03-04 00:16:49 UTC
(rev 4621)
@@ -161,8 +161,10 @@
if (fileInfo.isDir())
{
QDir dir(strPath);
+ QString name = dir.dirName();
- keywords.append(dir.dirName());
+ if (!keywords.contains(name))
+ keywords.append(name);
}
parent->setCursor(Qt::ArrowCursor);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4621 - gnunet-qt/src/plugins/fs,
gnunet <=