forked from qt-creator/qt-creator
remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
This commit is contained in:
@@ -150,7 +150,7 @@ void GitCommand::run()
|
||||
output += process.readAllStandardOutput();
|
||||
error += QString::fromLocal8Bit(process.readAllStandardError());
|
||||
switch (m_reportTerminationMode) {
|
||||
case NoReport:
|
||||
case NoReport:
|
||||
break;
|
||||
case ReportStdout:
|
||||
output += msgTermination(process.exitCode(), m_binaryPath, m_jobs.at(j).arguments).toUtf8();
|
||||
|
||||
@@ -228,7 +228,7 @@ void GitoriousHostWidget::slotBrowse()
|
||||
}
|
||||
|
||||
void GitoriousHostWidget::slotDelete()
|
||||
{
|
||||
{
|
||||
const QModelIndex index = ui->hostView->selectionModel()->currentIndex();
|
||||
ui->hostView->selectionModel()->clear();
|
||||
if (index.isValid()) {
|
||||
|
||||
@@ -81,7 +81,7 @@ GitoriousRepositoryWizardPage::GitoriousRepositoryWizardPage(const GitoriousProj
|
||||
{
|
||||
QStringList headers;
|
||||
headers << tr("Name") << tr("Owner") << tr("Description");
|
||||
m_model->setHorizontalHeaderLabels(headers);
|
||||
m_model->setHorizontalHeaderLabels(headers);
|
||||
// Filter on all columns
|
||||
m_filterModel->setSourceModel(m_model);
|
||||
m_filterModel->setFilterKeyColumn(-1);
|
||||
|
||||
@@ -55,13 +55,13 @@ static QTextCharFormat commentFormat()
|
||||
// keywords (words in front of a colon as in 'Task: <bla>').
|
||||
|
||||
class GitSubmitHighlighter : QSyntaxHighlighter {
|
||||
public:
|
||||
public:
|
||||
explicit GitSubmitHighlighter(QTextEdit *parent);
|
||||
virtual void highlightBlock(const QString &text);
|
||||
|
||||
private:
|
||||
enum State { Header, Comment, Other };
|
||||
const QTextCharFormat m_commentFormat;
|
||||
const QTextCharFormat m_commentFormat;
|
||||
const QRegExp m_keywordPattern;
|
||||
const QChar m_hashChar;
|
||||
};
|
||||
@@ -87,7 +87,7 @@ void GitSubmitHighlighter::highlightBlock(const QString &text)
|
||||
state = Comment;
|
||||
}
|
||||
// Apply format.
|
||||
switch (state) {
|
||||
switch (state) {
|
||||
case Header: {
|
||||
QTextCharFormat charFormat = format(0);
|
||||
charFormat.setFontWeight(QFont::Bold);
|
||||
|
||||
Reference in New Issue
Block a user