summaryrefslogtreecommitdiffstats
path: root/qt-ui/webservices.ui
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-12-10 01:02:06 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-10 05:22:01 +0100
commitcf9748278fe2a44bcdbdf6d7428ea93491cc5ed8 (patch)
treeed14c33f5bb34c2c073a7e7161c2e9153a9f5c2c /qt-ui/webservices.ui
parent26a1904cf88a97474468fab33879a0c3235e56ac (diff)
downloadsubsurface-cf9748278fe2a44bcdbdf6d7428ea93491cc5ed8.tar.gz
Planner: fix potential assert in clear()
If rowCount() is 0 we get an assert: ASSERT: "last >= first" in file kernel/qabstractitemmodel.cpp... To solve that we wrap the beginRemoveRows() call in a bnrach: if (rowCount() > 0) { ... Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/webservices.ui')
0 files changed, 0 insertions, 0 deletions