forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.14' into 4.15
Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri Change-Id: I892ea0c3b42f61b9cd24fa5508ec181d8d245d29
This commit is contained in:
@@ -6,6 +6,6 @@ if (NOT APPLE AND NOT WIN32)
|
||||
applications
|
||||
metainfo
|
||||
DESTINATION
|
||||
share
|
||||
${CMAKE_INSTALL_DATAROOTDIR}
|
||||
)
|
||||
endif()
|
||||
|
@@ -931,7 +931,10 @@ void HelpWidget::updateCloseButton()
|
||||
{
|
||||
if (supportsPages()) {
|
||||
const bool closeOnReturn = LocalHelpManager::returnOnClose() && m_style == ModeWidget;
|
||||
m_closeAction->setEnabled(closeOnReturn || m_viewerStack->count() > 1);
|
||||
const bool hasMultiplePages = m_viewerStack->count() > 1;
|
||||
m_closeAction->setEnabled(closeOnReturn || hasMultiplePages);
|
||||
m_gotoPrevious->setEnabled(hasMultiplePages);
|
||||
m_gotoNext->setEnabled(hasMultiplePages);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -81,7 +81,9 @@ void OpenPagesSwitcher::gotoPreviousPage()
|
||||
void OpenPagesSwitcher::selectAndHide()
|
||||
{
|
||||
setVisible(false);
|
||||
emit setCurrentPage(m_openPagesWidget->currentIndex());
|
||||
QModelIndex index = m_openPagesWidget->currentIndex();
|
||||
if (index.isValid())
|
||||
emit setCurrentPage(index);
|
||||
}
|
||||
|
||||
void OpenPagesSwitcher::selectCurrentPage(int index)
|
||||
|
@@ -66,6 +66,8 @@ def startQC(additionalParameters=None, withPreparedSettingsPath=True, closeLinkT
|
||||
appWithOptions.extend(('-platform', 'windows:dialogs=none'))
|
||||
test.log("Starting now: %s" % ' '.join(appWithOptions))
|
||||
appContext = startApplication(' '.join(appWithOptions))
|
||||
if closeLinkToQt or cancelTour:
|
||||
progressBarWait(3000) # wait for the "Updating documentation" progress bar
|
||||
if closeLinkToQt:
|
||||
clickButton(waitForObject(":*Qt Creator.Do Not Show Again_QToolButton"))
|
||||
if cancelTour:
|
||||
|
Reference in New Issue
Block a user