diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-14 12:35:44 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-14 12:35:44 (GMT) |
commit | 05145be7e502d4330ced88d3e55207a99c0a841b (patch) | |
tree | 41a76a506b286cc1c0a6bbf317c89879be7a5079 /src/gui/widgets | |
parent | b770651f19741907cd415ea9ad6e087cb32cc948 (diff) | |
download | Qt-05145be7e502d4330ced88d3e55207a99c0a841b.zip Qt-05145be7e502d4330ced88d3e55207a99c0a841b.tar.gz Qt-05145be7e502d4330ced88d3e55207a99c0a841b.tar.bz2 |
Fixed coverity warnings
Some dead code removed
Some member not initialized missing
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/qcalendarwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/qcalendarwidget.cpp b/src/gui/widgets/qcalendarwidget.cpp index 31da850..8d5d0c7 100644 --- a/src/gui/widgets/qcalendarwidget.cpp +++ b/src/gui/widgets/qcalendarwidget.cpp @@ -332,10 +332,9 @@ QString QCalendarMonthValidator::text(const QDate &date, int repeat) const return str + QString::number(date.month()); } else if (repeat == 3) { return m_locale.standaloneMonthName(date.month(), QLocale::ShortFormat); - } else if (repeat >= 4) { + } else /*if (repeat >= 4)*/ { return m_locale.standaloneMonthName(date.month(), QLocale::LongFormat); } - return QString(); } ////////////////////////////////// |