CCBUG: 151496
svn path=/trunk/KDE/kdebase/apps/; revision=886642
{
SidebarPage::setUrl(url);
if (url.isValid() && !isEqualToShownUrl(url)) {
- if (m_initialized) {
+ if (isVisible()) {
cancelRequest();
m_shownUrl = url;
showItemInfo();
void InfoSidebarPage::setSelection(const KFileItemList& selection)
{
- if (!m_initialized) {
+ if (!isVisible()) {
return;
}
void InfoSidebarPage::requestDelayedItemInfo(const KFileItem& item)
{
- if (!m_initialized) {
+ if (!isVisible()) {
return;
}
void InfoSidebarPage::resizeEvent(QResizeEvent* event)
{
- if (m_initialized) {
+ if (isVisible()) {
// If the text inside the name label or the info label cannot
// get wrapped, then the maximum width of the label is increased
// so that the width of the information sidebar gets increased.