From d2b99e4e5f4f52daf5434ad3e8a726ec63f61d41 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Tue, 22 Mar 2016 22:03:28 +0300 Subject: [PATCH] short fix --- src/mainscreen.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/mainscreen.py b/src/mainscreen.py index 667d7b1..ec1fa1e 100644 --- a/src/mainscreen.py +++ b/src/mainscreen.py @@ -211,9 +211,9 @@ class MainWindow(QtGui.QMainWindow): self.messages.setGeometry(0, 0, 600, 250) def initUI(self, tox): - self.setMinimumSize(900, 520) - self.setMaximumSize(900, 520) - self.setGeometry(400, 400, 900, 520) + self.setMinimumSize(920, 520) + self.setMaximumSize(920, 520) + self.setGeometry(400, 400, 920, 520) self.setWindowTitle('Toxygen') main = QtGui.QWidget() grid = QtGui.QGridLayout() @@ -267,7 +267,7 @@ class MainWindow(QtGui.QMainWindow): self.a_c = AddContact() self.a_c.show() - def profile_settings(self, *args): + def profile_settings(self): self.p_s = ProfileSettings() self.p_s.show() @@ -358,7 +358,6 @@ class MainWindow(QtGui.QMainWindow): # ----------------------------------------------------------------------------------------------------------------- def friend_click(self, index): - print 'row:', index.row() num = index.row() self.profile.set_active(num)