PIPeer important fix!
git-svn-id: svn://db.shs.com.ru/pip@117 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -285,8 +285,8 @@ void Daemon::fillInfoTile(const Daemon::HostInfo & hi) {
|
|||||||
|
|
||||||
|
|
||||||
void Daemon::tileEvent(PIScreenTile * t, TileEvent e) {
|
void Daemon::tileEvent(PIScreenTile * t, TileEvent e) {
|
||||||
PIMutexLocker ml(remote_mutex);
|
|
||||||
if (t == list_daemons) {
|
if (t == list_daemons) {
|
||||||
|
PIMutexLocker ml(remote_mutex);
|
||||||
if (e.type == TileList::RowPressed) {
|
if (e.type == TileList::RowPressed) {
|
||||||
connectToDaemon(list_daemons->content[e.data.toInt()].first);
|
connectToDaemon(list_daemons->content[e.data.toInt()].first);
|
||||||
showActionList();
|
showActionList();
|
||||||
@@ -294,6 +294,7 @@ void Daemon::tileEvent(PIScreenTile * t, TileEvent e) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (t == list_actions) {
|
if (t == list_actions) {
|
||||||
|
PIMutexLocker ml(remote_mutex);
|
||||||
if (e.type == TileList::RowPressed) {
|
if (e.type == TileList::RowPressed) {
|
||||||
switch (e.data.toInt()) {
|
switch (e.data.toInt()) {
|
||||||
case 0: mode = 2; showTile(tile_info, "Information"); break;
|
case 0: mode = 2; showTile(tile_info, "Information"); break;
|
||||||
|
|||||||
Reference in New Issue
Block a user