Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit def93297 authored by Michael Pyne's avatar Michael Pyne

Set directory mode for renamer's "music folder".

Γιώργος Κυλάφας submitted this patch for the JuK file renamer to use the proper
"directory mode" of KFileDialog for the music folder selection in the File
Renamer configuration.

It's *much* appreciated -- this represents the first non-Michael Pyne
contribution to JuK since about 8 months ago (and the one before that was 20
months ago).

I will backport to 4.6.3.

CCMAIL:gekylafas@gmail.com

svn path=/trunk/KDE/kdemultimedia/juk/; revision=1228551
parent cc1fd0b4
......@@ -274,7 +274,10 @@ void FileRenamerWidget::loadConfig()
}
QString path = config.readEntry("MusicFolder", "${HOME}/music");
m_ui->m_musicFolder->setPath(path);
m_ui->m_musicFolder->setUrl(KUrl(path));
m_ui->m_musicFolder->setMode(KFile::Directory |
KFile::ExistingOnly |
KFile::LocalOnly);
m_ui->m_separator->setEditText(config.readEntry("Separator", " - "));
}
......
......@@ -46,8 +46,8 @@ static const char laurent[] = I18N_NOOP("Porting to KDE 4 when no one else w
int main(int argc, char *argv[])
{
KAboutData aboutData("juk", 0, ki18n("JuK"),
"3.6", ki18n(description), KAboutData::License_GPL,
ki18n("© 2002 - 2010, Scott Wheeler"), KLocalizedString(),
"3.7", ki18n(description), KAboutData::License_GPL,
ki18n("© 2002 - 2011, Scott Wheeler"), KLocalizedString(),
"http://developer.kde.org/~wheeler/juk.html");
aboutData.addAuthor(ki18n("Scott Wheeler"), ki18n(scott), "wheeler@kde.org");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment