[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4657 - gnunet-qt/src/plugins/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r4657 - gnunet-qt/src/plugins/fs |
Date: |
Sat, 10 Mar 2007 02:07:02 -0700 (MST) |
Author: durner
Date: 2007-03-10 02:07:02 -0700 (Sat, 10 Mar 2007)
New Revision: 4657
Modified:
gnunet-qt/src/plugins/fs/fs-search.cc
gnunet-qt/src/plugins/fs/fs.cc
Log:
make views read-only
Modified: gnunet-qt/src/plugins/fs/fs-search.cc
===================================================================
--- gnunet-qt/src/plugins/fs/fs-search.cc 2007-03-10 08:47:24 UTC (rev
4656)
+++ gnunet-qt/src/plugins/fs/fs-search.cc 2007-03-10 09:07:02 UTC (rev
4657)
@@ -42,6 +42,7 @@
header->setContextMenuPolicy(Qt::CustomContextMenu);
treeResults->setUniformRowHeights(false);
treeResults->addAction(actionDownload);
+ treeResults->setEditTriggers(QAbstractItemView::NoEditTriggers);
this->tab = tab;
this->fs = fs;
Modified: gnunet-qt/src/plugins/fs/fs.cc
===================================================================
--- gnunet-qt/src/plugins/fs/fs.cc 2007-03-10 08:47:24 UTC (rev 4656)
+++ gnunet-qt/src/plugins/fs/fs.cc 2007-03-10 09:07:02 UTC (rev 4657)
@@ -182,6 +182,10 @@
treeUploads->setColumnWidth(0, 250);
treeDownloads->setColumnWidth(0, 250);
+ treeDownloads->setEditTriggers(QAbstractItemView::NoEditTriggers);
+ treeSearches->setEditTriggers(QAbstractItemView::NoEditTriggers);
+ treeUploads->setEditTriggers(QAbstractItemView::NoEditTriggers);
+
/* FIXME: allow user to configure download parallelism */
fsuiContext = FSUI_start(errorContext, config, "gnunet_qt", 128, YES,
fsuiEventProcessor, this);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4657 - gnunet-qt/src/plugins/fs,
gnunet <=