mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 11:54:30 -04:00
Merge branch 'v0.6-TorControl' of github.com:csoler/RetroShare into v0.6-TorControl
This commit is contained in:
commit
1e8e489cd1
9 changed files with 49 additions and 8 deletions
|
@ -42,6 +42,11 @@ TorControlDialog::TorControlDialog(QWidget *)
|
|||
adjustSize();
|
||||
}
|
||||
|
||||
TorControlDialog::~TorControlDialog()
|
||||
{
|
||||
rsEvents->unregisterEventsHandler(mEventHandlerId);
|
||||
}
|
||||
|
||||
void TorControlDialog::handleEvent_main_thread(std::shared_ptr<const RsEvent> event)
|
||||
{
|
||||
if(event->mType != RsEventType::TOR_MANAGER) return;
|
||||
|
|
|
@ -15,6 +15,7 @@ class TorControlDialog: public QWidget, public Ui::TorControlDialog
|
|||
|
||||
public:
|
||||
TorControlDialog(QWidget *parent =NULL);
|
||||
virtual ~TorControlDialog();
|
||||
|
||||
enum TorStatus {
|
||||
TOR_STATUS_UNKNOWN = 0x00,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue