QtGui.QInputDialog.getText default value
<p>i want to make an input dialog with default value "/" on QInputDialog.getInt it works by adding the number as parameter. doesnt work for me with getText.</p>

<p>Using Python3.4 and PyQt4</p>

<p>Works:</p>

<pre><code>port,port_check = QtGui.QInputDialog.getInt(self,"FTP-Server Port","FTP-Server Port (meist 21):",21)
</code></pre>

<p>Doesnt work</p>

<pre><code>pfad, pfad_check = QtGui.QInputDialog.getText(self, 'FTP-Server Verzeichnis', 'FTP-Server Verzeichnis ( / ):','/')
</code></pre>

<p>any ideas?</p>