diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2013-11-26 12:31:01 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-28 11:34:33 +0100 |
| commit | 6f5424466018aaaae5b11e3e5203c7427ffe65bd (patch) | |
| tree | 824f12b33a77f79eb4eb49bfb9b4e0bee10a58d1 /src/sql/drivers/sqlite/qsql_sqlite.cpp | |
| parent | 1c046369e395888df788242295743eb2def102ee (diff) | |
QLineEdit: Extract Method shouldShowPlaceholderText()
The condition under which the placeholder text should be shown changed recently,
so refactor the code to centralize the condition.
It turns out that setPlaceholderText() and paintEvent() disagree on the condition
already.
Change-Id: Id193a9a138042ab0690082dcf634cf7487a5276e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/sql/drivers/sqlite/qsql_sqlite.cpp')
0 files changed, 0 insertions, 0 deletions
