FIX: local file proto
Change-Id: Ie45dc223a027e3855f1242bfeed2f346b1df600f Jira: none
This commit is contained in:
parent
9f85798a0b
commit
e709ddacc8
|
@ -205,6 +205,8 @@ MediaFilePanel::MediaFilePanel(wxWindow * parent)
|
|||
};
|
||||
Bind(wxEVT_SHOW, onShowHide);
|
||||
parent->GetParent()->Bind(wxEVT_SHOW, onShowHide);
|
||||
|
||||
m_lan_user = "bblp";
|
||||
}
|
||||
|
||||
MediaFilePanel::~MediaFilePanel()
|
||||
|
|
|
@ -1550,7 +1550,9 @@ void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int resul
|
|||
ret = Bambu_StartStreamEx
|
||||
? Bambu_StartStreamEx(tunnel, CTRL_TYPE)
|
||||
: Bambu_StartStream(tunnel, false);
|
||||
} while (ret == Bambu_would_block);
|
||||
if (ret == Bambu_would_block)
|
||||
boost::this_thread::sleep(boost::posix_time::milliseconds(100));
|
||||
} while (ret == Bambu_would_block && !m_stopped);
|
||||
l.lock();
|
||||
if (ret == 0) {
|
||||
m_session.tunnel = tunnel;
|
||||
|
|
|
@ -197,7 +197,7 @@ public:
|
|||
size_t GetIndexAtTime(boost::uint32_t time);
|
||||
|
||||
void ToggleSelect(size_t index);
|
||||
|
||||
|
||||
void SelectAll(bool select);
|
||||
|
||||
size_t GetSelectCount() const;
|
||||
|
@ -210,12 +210,12 @@ public:
|
|||
|
||||
enum Status {
|
||||
Initializing,
|
||||
Connecting,
|
||||
Connecting,
|
||||
ListSyncing,
|
||||
ListReady,
|
||||
Failed,
|
||||
};
|
||||
|
||||
|
||||
Status GetStatus() const { return m_status; }
|
||||
int GetLastError() const { return m_last_error; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue