[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra] krita/plugins/extensions/dockers/historydocker: fix typo
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2012-09-04 9:06:39
Message-ID: 20120904090639.E1BFEA6094 () git ! kde ! org
[Download RAW message or body]
Git commit cdc7ce1ce0b1448a0a4ef2442133f68f6b7ca390 by Boudewijn Rempt.
Committed on 04/09/2012 at 11:06.
Pushed by rempt into branch 'master'.
fix typo
M +4 -4 krita/plugins/extensions/dockers/historydocker/KisUndoModel.cpp
M +1 -1 krita/plugins/extensions/dockers/historydocker/KisUndoModel.h
http://commits.kde.org/calligra/cdc7ce1ce0b1448a0a4ef2442133f68f6b7ca390
diff --git a/krita/plugins/extensions/dockers/historydocker/KisUndoModel.cpp \
b/krita/plugins/extensions/dockers/historydocker/KisUndoModel.cpp index \
0f9ddf4..0839e17 100644
--- a/krita/plugins/extensions/dockers/historydocker/KisUndoModel.cpp
+++ b/krita/plugins/extensions/dockers/historydocker/KisUndoModel.cpp
@@ -65,7 +65,7 @@ KisUndoModel::KisUndoModel(QObject *parent)
m_canvas = 0;
m_sel_model = new QItemSelectionModel(this, this);
connect(m_sel_model, SIGNAL(currentChanged(QModelIndex,QModelIndex)), this, \
SLOT(setStackCurrentIndex(QModelIndex)));
- m_emty_label = tr("<empty>");
+ m_empty_label = tr("<empty>");
}
QItemSelectionModel *KisUndoModel::selectionModel() const
@@ -187,7 +187,7 @@ QVariant KisUndoModel::data(const QModelIndex &index, int role) \
const
if (role == Qt::DisplayRole) {
if (index.row() == 0)
- return m_emty_label;
+ return m_empty_label;
return m_stack->text(index.row() - 1);
} else if (role == Qt::DecorationRole) {
if(!index.row() == 0) {
@@ -201,12 +201,12 @@ QVariant KisUndoModel::data(const QModelIndex &index, int role) \
const
QString KisUndoModel::emptyLabel() const
{
- return m_emty_label;
+ return m_empty_label;
}
void KisUndoModel::setEmptyLabel(const QString &label)
{
- m_emty_label = label;
+ m_empty_label = label;
stackChanged();
}
diff --git a/krita/plugins/extensions/dockers/historydocker/KisUndoModel.h \
b/krita/plugins/extensions/dockers/historydocker/KisUndoModel.h index \
025e06a..52de051 100644
--- a/krita/plugins/extensions/dockers/historydocker/KisUndoModel.h
+++ b/krita/plugins/extensions/dockers/historydocker/KisUndoModel.h
@@ -106,7 +106,7 @@ private slots:
private:
KUndo2QStack *m_stack;
QItemSelectionModel *m_sel_model;
- QString m_emty_label;
+ QString m_empty_label;
QIcon m_clean_icon;
KisCanvas2* m_canvas;
QMap<const KUndo2Command*, QImage> imageMap;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic