[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Amarok] aa301f1: Expand the lineedit in the podcast channel setting
From: Leo Franchi <lfranchi () kde ! org>
Date: 2010-12-01 3:03:16
Message-ID: 20101201030316.52DD5A60A6 () git ! kde ! org
[Download RAW message or body]
commit aa301f106f40795ba82cf4c6e07639ab1b9ac96c
branch master
Author: Leo Franchi <lfranchi@kde.org>
Date: Tue Nov 30 22:01:41 2010 -0500
Expand the lineedit in the podcast channel settings dialog
don't use ki18np().toString() when calling QSpinBox::setPrefix
as that won't work, so use a simple i18n instead
diff --git a/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp \
b/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp index bf679fc..c14040c 100644
--- a/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp
+++ b/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp
@@ -587,7 +587,7 @@ SqlPodcastProvider::configureProvider()
settings.m_autoUpdateInterval->setValue( m_autoUpdateInterval );
settings.m_autoUpdateInterval->setPrefix(
- ki18ncp( "prefix to 'x minutes'", "every ", "every " ).toString() );
+ i18nc( "prefix to 'x minutes'", "every " ) );
settings.m_autoUpdateInterval->setSuffix( ki18np( " minute", " minutes" ) );
m_providerSettingsDialog->setButtons( KDialog::Ok | KDialog::Cancel | \
KDialog::Apply );
diff --git a/src/core-impl/podcasts/sql/SqlPodcastProviderSettingsWidget.ui \
b/src/core-impl/podcasts/sql/SqlPodcastProviderSettingsWidget.ui index \
8e28977..a7da2ad 100644
--- a/src/core-impl/podcasts/sql/SqlPodcastProviderSettingsWidget.ui
+++ b/src/core-impl/podcasts/sql/SqlPodcastProviderSettingsWidget.ui
@@ -39,7 +39,7 @@
<item row="0" column="1">
<widget class="KIntSpinBox" name="m_autoUpdateInterval">
<property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic