some fixes
This commit is contained in:
parent
e854516183
commit
1bdccf6f40
2 changed files with 3 additions and 2 deletions
|
@ -372,7 +372,7 @@ class MainWindow(QtGui.QMainWindow, Singleton):
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
def resizeEvent(self, *args, **kwargs):
|
def resizeEvent(self, *args, **kwargs):
|
||||||
self.messages.setGeometry(0, 0, self.width() - 270, self.height() - 155)
|
self.messages.setGeometry(0, 0, self.width() - 270, self.height() - 158)
|
||||||
self.friends_list.setGeometry(0, 0, 270, self.height() - 125)
|
self.friends_list.setGeometry(0, 0, 270, self.height() - 125)
|
||||||
|
|
||||||
self.videocallButton.setGeometry(QtCore.QRect(self.width() - 330, 10, 50, 50))
|
self.videocallButton.setGeometry(QtCore.QRect(self.width() - 330, 10, 50, 50))
|
||||||
|
|
|
@ -32,7 +32,8 @@ def copy(src, dest):
|
||||||
|
|
||||||
|
|
||||||
def remove(folder):
|
def remove(folder):
|
||||||
shutil.rmtree(folder)
|
if os.path.isdir(folder):
|
||||||
|
shutil.rmtree(folder)
|
||||||
|
|
||||||
|
|
||||||
def convert_time(t):
|
def convert_time(t):
|
||||||
|
|
Loading…
Reference in a new issue