[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra/textshape-stylesWidget-PierreSt] plugins/textshape/dialogs: Fix paragraph style is applied
From: Pierre Stirnweiss <pstirnweiss () googlemail ! com>
Date: 2013-01-01 16:13:04
Message-ID: 20130101161304.E188AA6091 () git ! kde ! org
[Download RAW message or body]
Git commit 966ad6d03ee3973ec46642429fb6d4f3706c9b75 by Pierre Stirnweiss.
Committed on 01/01/2013 at 14:17.
Pushed by pstirnweiss into branch 'textshape-stylesWidget-PierreSt'.
Fix paragraph style is applied twice regression.
The paragraph style was applied twice because an old style signal
was still used.
M +1 -1 plugins/textshape/dialogs/SimpleParagraphWidget.cpp
http://commits.kde.org/calligra/966ad6d03ee3973ec46642429fb6d4f3706c9b75
diff --git a/plugins/textshape/dialogs/SimpleParagraphWidget.cpp b/plugins/=
textshape/dialogs/SimpleParagraphWidget.cpp
index 9601d08..c01cea5 100644
--- a/plugins/textshape/dialogs/SimpleParagraphWidget.cpp
+++ b/plugins/textshape/dialogs/SimpleParagraphWidget.cpp
@@ -103,7 +103,7 @@ SimpleParagraphWidget::SimpleParagraphWidget(TextTool *=
tool, QWidget *parent)
=
m_stylesModel->setStyleThumbnailer(m_thumbnailer);
widget.paragraphStyleCombo->setStylesModel(m_sortedStylesModel);
- connect(widget.paragraphStyleCombo, SIGNAL(selected(int)), this, SLOT(=
styleSelected(int)));
+ connect(widget.paragraphStyleCombo, SIGNAL(selected(QModelIndex&)), th=
is, SLOT(styleSelected(QModelIndex&)));
connect(widget.paragraphStyleCombo, SIGNAL(newStyleRequested(QString))=
, this, SIGNAL(newStyleRequested(QString)));
connect(widget.paragraphStyleCombo, SIGNAL(newStyleRequested(QString))=
, this, SIGNAL(doneWithFocus()));
connect(widget.paragraphStyleCombo, SIGNAL(showStyleManager(int)), thi=
s, SLOT(slotShowStyleManager(int)));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic