|
|
|
@ -1665,7 +1665,7 @@ class FlowLayout(qt.QLayout):
|
|
|
|
|
return height
|
|
|
|
|
|
|
|
|
|
def setGeometry(self, rect):
|
|
|
|
|
super(FlowLayout, self).setGeometry(rect)
|
|
|
|
|
super().setGeometry(rect)
|
|
|
|
|
self.doLayout(rect, False)
|
|
|
|
|
|
|
|
|
|
def sizeHint(self):
|
|
|
|
@ -2452,7 +2452,7 @@ class ClientSignal(qt.QThread):
|
|
|
|
|
except urllib2.URLError:
|
|
|
|
|
reply = 2
|
|
|
|
|
except Exception as e:
|
|
|
|
|
show_msg (e.message, 'no connection to server!')
|
|
|
|
|
show_msg (e, 'no connection to server!')
|
|
|
|
|
if reply == 0:
|
|
|
|
|
#if not self.ClientObj.has_connect:
|
|
|
|
|
self.connect_count.emit(self.ClientObj.host_name,
|
|
|
|
|