summaryrefslogtreecommitdiffstats
path: root/wineconfig/wineconfig.py
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-01-28 21:28:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-01-29 00:00:40 +0900
commitcf571297f52ad4a5e5843555d9c016d526f03c43 (patch)
tree7e9eb123a08b935d382ac194a9a1f9e666ee09ee /wineconfig/wineconfig.py
parent00acd92ff96bd6d3bb3136aa6d6b37314b3ad623 (diff)
downloadtde-guidance-cf571297f52ad4a5e5843555d9c016d526f03c43.tar.gz
tde-guidance-cf571297f52ad4a5e5843555d9c016d526f03c43.zip
Fix functionality with python 3.r14.1.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'wineconfig/wineconfig.py')
-rwxr-xr-xwineconfig/wineconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wineconfig/wineconfig.py b/wineconfig/wineconfig.py
index f5ab322..628f57d 100755
--- a/wineconfig/wineconfig.py
+++ b/wineconfig/wineconfig.py
@@ -430,8 +430,8 @@ class WineConfigApp(programbase):
if standalone:
self.enableButton(KDialogBase.User1,changed) # Reset button
self.enableButtonApply(changed) # Apply button
- else:
- self.emit(SIGNAL("changed(bool)"), (changed,) )
+ #else:
+ # self.emit(SIGNAL("changed(bool)"), (changed,) )
############################################################################
''' Not used.
@@ -1806,7 +1806,7 @@ class AppearancePage(TQWidget):
spacer = TQWidget(self.customcolorsvbox)
self.customcolorsvbox.setStretchFactor(spacer,1)
- self.customcolorsvbox.setMinimumHeight(itemtext.height()*4.5)
+ self.customcolorsvbox.setMinimumHeight(int(itemtext.height()*4.5))
#self.customcolorsvbox.setStretchFactor(self.customcolorsgrid,1)
bottomspacer = TQSpacerItem(51,160,TQSizePolicy.Minimum,TQSizePolicy.Expanding)