Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 4.2.3 OS: Linux The problem is that calling this function with a valid timezone such as: "America/New_York" or "America/Detroit" or any other string that is valid and even returned by the dialog fails to be set so initializing the dialog means currently selected value can't be set. Possible problem in the findItems loop, maybe we need to use: Qt::MatchExactly | Qt::MatchRecursive Thanks.
SVN commit 736623 by dfaure: Fix KTimeZoneWidget::setSelected; the model inside QTreeWidget didn't have a column for the hidden column, so the findItems failed. Now using own loop and setData(), seems cleaner, and works. BUG: 152284 M +1 -0 tests/CMakeLists.txt M +37 -24 widgets/ktimezonewidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=736623