Wed, 03 Oct 2012 14:38:06 +0200
Changed QInputDialog.getInteger() to QInputDialog.getInt() because the first was deprecated as of Qt 4.5.
--- a/Helpviewer/HelpBrowserWV.py Wed Oct 03 13:20:57 2012 +0200 +++ b/Helpviewer/HelpBrowserWV.py Wed Oct 03 14:38:06 2012 +0200 @@ -1456,7 +1456,7 @@ .format(self.__dataString(securityOrigin.databaseQuota()), databaseName), yesDefault=True) if res: - newQuota, ok = QInputDialog.getInteger( + newQuota, ok = QInputDialog.getInt( self, self.trUtf8("New Web Database Quota"), self.trUtf8("Enter the new quota in MB (current = {0}, used = {1}; "
--- a/Plugins/VcsPlugins/vcsPySvn/subversion.py Wed Oct 03 13:20:57 2012 +0200 +++ b/Plugins/VcsPlugins/vcsPySvn/subversion.py Wed Oct 03 14:38:06 2012 +0200 @@ -919,7 +919,7 @@ @param name file/directory name to show the log of (string) """ - noEntries, ok = QInputDialog.getInteger( + noEntries, ok = QInputDialog.getInt( None, self.trUtf8("Subversion Log"), self.trUtf8("Select number of entries to show."),
--- a/Plugins/VcsPlugins/vcsSubversion/subversion.py Wed Oct 03 13:20:57 2012 +0200 +++ b/Plugins/VcsPlugins/vcsSubversion/subversion.py Wed Oct 03 14:38:06 2012 +0200 @@ -821,7 +821,7 @@ @param name file/directory name to show the log of (string) """ - noEntries, ok = QInputDialog.getInteger( + noEntries, ok = QInputDialog.getInt( None, self.trUtf8("Subversion Log"), self.trUtf8("Select number of entries to show."),
--- a/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py Wed Oct 03 13:20:57 2012 +0200 +++ b/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py Wed Oct 03 14:38:06 2012 +0200 @@ -80,7 +80,7 @@ echomode, self.eTextDefault.text()) elif self.rInteger.isChecked(): - QInputDialog.getInteger( + QInputDialog.getInt( None, self.eCaption.text(), self.eLabel.text(), @@ -143,7 +143,7 @@ os.linesep, istring, self.eTextDefault.text()) code += '){0}'.format(estring) elif self.rInteger.isChecked(): - code += 'getInteger({0}{1}'.format(os.linesep, istring) + code += 'getInt({0}{1}'.format(os.linesep, istring) code += 'None,{0}{1}'.format(os.linesep, istring) code += 'self.trUtf8("{0}"),{1}{2}'.format( self.eCaption.text(), os.linesep, istring)
--- a/VCS/StatusMonitorLed.py Wed Oct 03 13:20:57 2012 +0200 +++ b/VCS/StatusMonitorLed.py Wed Oct 03 14:38:06 2012 +0200 @@ -117,7 +117,7 @@ """ Private slot to change the status check interval. """ - interval, ok = QInputDialog.getInteger( + interval, ok = QInputDialog.getInt( None, self.trUtf8("VCS Status Monitor"), self.trUtf8("Enter monitor interval [s]"),