forked from qt-creator/qt-creator
Remove Qt version checks.
Qt 5.3 is the minimum requirement these days. Remove all fallback code from sources and project files. Change-Id: If6188a471197acadda4d6baee71804ba1a8026c6 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -555,14 +555,6 @@ void SubmitEditorWidget::hideDescription()
|
||||
|
||||
void SubmitEditorWidget::descriptionTextChanged()
|
||||
{
|
||||
#if QT_VERSION < 0x050000 // Fix Qt-Bug, see QTCREATORBUG-5633 && QTCREATORBUG-6082
|
||||
static QString lastText;
|
||||
const QString text = d->m_ui.description->toPlainText();
|
||||
if (lastText != text)
|
||||
lastText = text;
|
||||
else
|
||||
return;
|
||||
#endif
|
||||
updateSubmitAction();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user