r15287 by cbradney - #9114: Add back missing accelerators, Qt3->Qt4 behaviour change gone unnoticed
scribus-commit
scribus-commit at lists.scribus.net
Mon Jun 28 22:40:43 CEST 2010
Revision: 15287
Author: cbradney
Date: 2010-06-28T20:38:50.685110Z
Commit message: #9114: Add back missing accelerators, Qt3->Qt4 behaviour change gone unnoticed
Changeset:
M /trunk/Scribus/scribus/scraction.h
M /trunk/Scribus/scribus/scraction.cpp
Diffs:
Index: scribus/scraction.h
===================================================================
--- scribus/scraction.h (revision 15286)
+++ scribus/scraction.h (revision 15287)
@@ -164,7 +164,7 @@
void setActionQString(const QString &);
/*! \brief Set up text and menuText at the same time */
- void setTexts(const QString &newText, bool setTextToo = true);
+ void setTexts(const QString &newText);//#9114, qt3-qt4 change of behaviour bug: , bool setTextToo = true);
public slots:
void toggle();
Index: scribus/scraction.cpp
===================================================================
--- scribus/scraction.cpp (revision 15286)
+++ scribus/scraction.cpp (revision 15287)
@@ -256,11 +256,11 @@
return _dataQString;
}
-void ScrAction::setTexts(const QString &newText, bool setTextToo)
+void ScrAction::setTexts(const QString &newText)//#9114, qt3-qt4 change of behaviour bug:, bool setTextToo)
{
QAction::setText(newText);
- if (setTextToo)
- QAction::setText(cleanMenuText());
+// if (setTextToo)
+ QAction::setIconText(cleanMenuText());
}
void ScrAction::toggle()
More information about the scribus-commit
mailing list