Changing styling in accordance with KDE styling guidelines + comments

Patch by renan fargetton renan.fargetton@gmail.com

REVIEW: 110532
This commit is contained in:
Kurt Hindenburg
2013-05-20 09:43:57 -04:00
parent e6d16b71b6
commit a091014a14
2 changed files with 9 additions and 5 deletions

View File

@@ -685,8 +685,8 @@ void EditProfileDialog::removeColorScheme()
}
void EditProfileDialog::showColorSchemeEditor(bool isNewScheme)
{
// Finding selected ColorScheme
QModelIndexList selected = _ui->colorSchemeList->selectionModel()->selectedIndexes();
QAbstractItemModel* model = _ui->colorSchemeList->model();
const ColorScheme* colors = 0;
if (!selected.isEmpty())
@@ -696,6 +696,7 @@ void EditProfileDialog::showColorSchemeEditor(bool isNewScheme)
Q_ASSERT(colors);
// Setting up ColorSchemeEditor ui
QWeakPointer<KDialog> dialog = new KDialog(this);
if (isNewScheme)