mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
kcontrol: avoid temporary in CountrySelectorDialog::editCountry()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
40666e3127
commit
84a7f988cc
1 changed files with 1 additions and 3 deletions
|
@ -236,10 +236,8 @@ bool CountrySelectorDialog::editCountry(KControlLocale *locale)
|
|||
|
||||
CountryModel *cm = new CountryModel(this);
|
||||
|
||||
const QString &sub = QString::fromLatin1("l10n/");
|
||||
|
||||
QStringList regionlist = KGlobal::dirs()->findAllResources("locale",
|
||||
sub + QString::fromLatin1("*.desktop"),
|
||||
QString::fromLatin1("l10n/*.desktop"),
|
||||
KStandardDirs::NoDuplicates);
|
||||
|
||||
QFontMetrics fm(lv1->font());
|
||||
|
|
Loading…
Add table
Reference in a new issue