[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/scripts/importer
From:       Seb Ruiz <ruiz () kde ! org>
Date:       2008-08-27 13:26:37
Message-ID: 1219843597.906519.29133.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 853295 by seb:

Autoexpansion of ~ doesn't work so use the home directory from QDir


 M  +1 -1      main.js  


--- trunk/extragear/multimedia/amarok/src/scripts/importer/main.js #853294:853295
@@ -45,7 +45,7 @@
 var locationLabel = new QLabel( dlg );
 locationLabel.setText( "Location" );
 var locationEdit = new QLineEdit( dlg );
-locationEdit.setText( "~/.kde/share/apps/amarok/collection.db" );
+locationEdit.setText( QDir.homePath() + "/.kde/share/apps/amarok/collection.db" );
 
 var usernameLabel = new QLabel( dlg );
 usernameLabel.setText( "Username" );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic