removed debug/experimental channel search from files tab

This commit is contained in:
csoler 2018-06-26 22:25:06 +02:00
parent 00dfa0f3c2
commit a6edf47e00
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
2 changed files with 1 additions and 17 deletions

View File

@ -38,7 +38,6 @@
#include "gui/common/RSTreeWidgetItem.h"
#include "util/QtVersion.h"
#include "retroshare/rsgxschannels.h"
#include <retroshare/rsfiles.h>
#include <retroshare/rsturtle.h>
#include <retroshare/rsexpr.h>
@ -204,7 +203,6 @@ SearchDialog::SearchDialog(QWidget *parent)
// load settings
processSettings(true);
ui._channels_CB->setMinimumWidth(20 * f);
ui._ownFiles_CB->setMinimumWidth(20*f);
ui._friendListsearch_SB->setMinimumWidth(20*f);
ui._anonF2Fsearch_CB->setMinimumWidth(20*f);
@ -866,13 +864,6 @@ void SearchDialog::searchKeywords(const QString& keywords)
else
req_id = rsFiles->turtleSearch(lin_exp) ;
}
else if(ui._channels_CB->isChecked())
{
if(n==1)
req_id = rsGxsChannels->turtleSearchRequest(words.front()) ;
else
QMessageBox::critical(this,"Cannot search multiple words yet.","Search for multiple words is not implemented yet.") ;
}
else
req_id = RSRandom::random_u32() ; // generate a random 32 bits request id

View File

@ -117,13 +117,6 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="_channels_CB">
<property name="text">
<string>Channels</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="_friendListsearch_SB">
<property name="toolTip">
@ -448,7 +441,7 @@
<customwidget>
<class>LineEditClear</class>
<extends>QLineEdit</extends>
<header>gui/common/LineEditClear.h</header>
<header location="global">gui/common/LineEditClear.h</header>
</customwidget>
<customwidget>
<class>SearchTreeWidget</class>