[Amarok] 1f6b9e8 Remove likeback from Sql podcastsettings.

Bart Cerneels bart.cerneels at kde.org
Fri Jul 23 22:42:37 CEST 2010


commit 1f6b9e864bae6dde386398b064d10eea3ffe3873
Author: Bart Cerneels <bart.cerneels at kde.org>
Date:   Fri Jul 23 22:40:28 2010 +0200

    Remove likeback from Sql podcastsettings.
    
    Since the likeback bar is in the way of content of most dialogs I propose we move it (for dialogs only) to the bottom left (RTL:right) corner. This would put it in the free space next to the OK/Apply/Cancel buttons.
    
    CCMAIL:amarok-devel at kde.org

diff --git a/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp b/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp
index c933f00..7f4ff18 100644
--- a/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp
+++ b/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp
@@ -566,6 +566,7 @@ SqlPodcastProvider::configureProvider()
     DEBUG_BLOCK
     m_providerSettingsDialog = new KDialog( The::mainWindow() );
     QWidget *settingsWidget = new QWidget( m_providerSettingsDialog );
+    m_providerSettingsDialog->setObjectName( "SqlPodcastProviderSettings" );
     Ui::SqlPodcastProviderSettingsWidget settings;
     settings.setupUi( settingsWidget );
 
diff --git a/src/likeback/LikeBackBar.cpp b/src/likeback/LikeBackBar.cpp
index ded30e4..6964f88 100644
--- a/src/likeback/LikeBackBar.cpp
+++ b/src/likeback/LikeBackBar.cpp
@@ -124,6 +124,7 @@ void LikeBackBar::changeWindow( QWidget *oldWidget, QWidget *newWidget )
          &&   newWindow->objectName() != "TheCoverManager"
          &&   newWindow->objectName() != "PlayMedia"
          &&   newWindow->objectName() != "PlaylistExport"
+         &&   newWindow->objectName() != "SqlPodcastProviderSettings"
          &&   newWindow->objectName() != "TrayIconContextMenu"
          && ( newWindow->windowType() == Qt::Window
               ||   newWindow->windowType() == Qt::Dialog ) )


More information about the Amarok-devel mailing list