]> cloud.milkyroute.net Git - dolphin.git/commit
DolphinTabWidget: cleanup index-by-URL API usage
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Tue, 10 Sep 2019 23:09:30 +0000 (01:09 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 14 Sep 2019 11:37:09 +0000 (13:37 +0200)
commitef5732c89bc5a898941f959a7de33fa6a62b1723
treefa8af7dc7e9f0fed91b4f7bf0bd3e904f73330fb
parentabbb98f57b67063dda973817985aefac6ee35409
DolphinTabWidget: cleanup index-by-URL API usage

Summary:
Follow-up of D23655 where we didn't have time to polish the code:

- add a couple of variables to make the code more clear.
- remove the `get` prefix which we usually don't use in Qt code.
- make the function private since it's very tied to implementation.
- add a new isUrlOpen public method as wrapper.

Reviewers: feverfew

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D23860
src/dolphinmainwindow.cpp
src/dolphintabwidget.cpp
src/dolphintabwidget.h