forked from qt-creator/qt-creator
VCS: Replace addButton with addReloadButton
It's the only use, and this is a special option that deserves its own function. Change-Id: Ic69be5973b452d3a1d506fab3623d4a9b84f8452 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
6d98db0d80
commit
cf8099f901
@@ -52,6 +52,7 @@
|
||||
#include <utils/qtcprocess.h>
|
||||
#include <utils/synchronousprocess.h>
|
||||
#include <utils/temporaryfile.h>
|
||||
#include <utils/theme/theme.h>
|
||||
|
||||
#include <vcsbase/submitfilemodel.h>
|
||||
#include <vcsbase/vcsbasediffeditorcontroller.h>
|
||||
@@ -69,8 +70,6 @@
|
||||
#include <texteditor/fontsettings.h>
|
||||
#include <texteditor/texteditorsettings.h>
|
||||
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QCoreApplication>
|
||||
#include <QDir>
|
||||
@@ -603,7 +602,7 @@ public:
|
||||
mapSetting(addComboBox({}, logChoices),
|
||||
settings.intPointer(GitSettings::blameMoveDetection));
|
||||
|
||||
addButton(tr("Reload"), Utils::Icons::RELOAD.icon());
|
||||
addReloadButton();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -642,7 +641,7 @@ public:
|
||||
mapSetting(followButton, settings.boolPointer(GitSettings::followRenamesKey));
|
||||
}
|
||||
|
||||
addButton(tr("Reload"), Utils::Icons::RELOAD.icon());
|
||||
addReloadButton();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user