Bug 113112

Summary: PostgreSQL DB shows MySQL configuration dialog
Product: [Applications] amarok Reporter: Adeodato Simó <dato>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: NOR    
Version: 1.3.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Adeodato Simó 2005-09-23 00:09:01 UTC
Hello, this comes from Debian Bug#327630, reported by Christian Marillat 
<marillat@debian.org>. 
 
When selecting the PostgreSQL database for the collection, the config pane 
below properly gets updated to show the PSQL one: 
 
http://people.debian.org/~adeodato/tmp/2005-09-23/amarok-psql-config-bug/amarok_psql_config_ok.png 
 
If one presses then OK, and reopens the Configuration Dialog, the "Collection" 
tab now looks like: 
 
http://people.debian.org/~adeodato/tmp/2005-09-23/amarok-psql-config-bug/amarok_psql_config_baaaaad.png 
 
Note how the config pane below "Database" shows the MySQL config options! 
 
Thanks.
Comment 1 Alexandre Oliveira 2005-09-24 03:40:10 UTC
SVN commit 463418 by aoliveira:

Bad copy and paste job!
BUG: 113112


 M  +2 -2      dbsetup.ui.h  


--- trunk/extragear/multimedia/amarok/src/dbsetup.ui.h #463417:463418
@@ -33,10 +33,10 @@
     if (AmarokConfig::databaseEngine() == QString::number(DbConnection::postgresql))
     {
         databaseEngine->setCurrentItem("Postgresql");
-        mySqlFrame->setShown( true );
+        postgreSqlFrame->setShown( true );
     }
 #endif
- 
+
     connect(databaseEngine, SIGNAL(activated( int )), SLOT(databaseEngineChanged()) );
 }