VirtualBox

Ignore:
Timestamp:
Apr 5, 2018 1:13:59 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9072 Build Fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp

    r71683 r71684  
    201201    if (m_pFilterPanel)
    202202        m_pFilterPanel->applyFilter();
     203
    203204    /* Restore the bookmarks: */
    204     for (int i = 0; i < !noLogsToShow && m_pTabWidget->count(); ++i)
    205     {
    206         UIVMLogPage *pLogPage = qobject_cast<UIVMLogPage*>(m_pTabWidget->widget(i));
    207         if (pLogPage && i < logPageBookmarks.size())
    208             pLogPage->setBookmarkVector(logPageBookmarks[i]);
     205    if (!noLogsToShow)
     206    {
     207        for (int i = 0; i <  m_pTabWidget->count(); ++i)
     208        {
     209            UIVMLogPage *pLogPage = qobject_cast<UIVMLogPage*>(m_pTabWidget->widget(i));
     210            if (pLogPage && i < logPageBookmarks.size())
     211                pLogPage->setBookmarkVector(logPageBookmarks[i]);
     212        }
    209213    }
    210214
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette