mirror of
https://github.com/KDE/konsole.git
synced 2026-06-12 16:05:45 -04:00
Changing styling in accordance with KDE styling guidelines + comments
Patch by renan fargetton renan.fargetton@gmail.com REVIEW: 110532
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user