mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 08:29:26 -05:00
removed debug/experimental channel search from files tab
This commit is contained in:
parent
00dfa0f3c2
commit
a6edf47e00
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user