some fixes

This commit is contained in:
ingvar1995 2016-11-05 16:04:17 +03:00
parent e854516183
commit 1bdccf6f40
2 changed files with 3 additions and 2 deletions

View File

@ -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))

View File

@ -32,6 +32,7 @@ def copy(src, dest):
def remove(folder): def remove(folder):
if os.path.isdir(folder):
shutil.rmtree(folder) shutil.rmtree(folder)