Astyle formatting.
This commit is contained in:
parent
76c7290e12
commit
4f41adf45e
|
@ -107,7 +107,7 @@ MainWindow::MainWindow() :
|
||||||
|
|
||||||
//Toolbar
|
//Toolbar
|
||||||
QToolBar *toolbar = addToolBar("Toolbar");
|
QToolBar *toolbar = addToolBar("Toolbar");
|
||||||
toolbar->setIconSize(QSize(22,22));
|
toolbar->setIconSize(QSize(22, 22));
|
||||||
|
|
||||||
mActionCheckDirectory.setIcon(QIcon("icon.svg"));
|
mActionCheckDirectory.setIcon(QIcon("icon.svg"));
|
||||||
mActionReCheck.setIcon(QIcon("images/view-refresh.png"));
|
mActionReCheck.setIcon(QIcon("images/view-refresh.png"));
|
||||||
|
|
|
@ -101,12 +101,12 @@ void ResultsTree::AddErrorItem(const QString &file,
|
||||||
for (int i = 1;i < files.size() && i < lines.size();i++)
|
for (int i = 1;i < files.size() && i < lines.size();i++)
|
||||||
{
|
{
|
||||||
AddBacktraceFiles(item,
|
AddBacktraceFiles(item,
|
||||||
files[i],
|
files[i],
|
||||||
lines[i].toInt(),
|
lines[i].toInt(),
|
||||||
severity,
|
severity,
|
||||||
message,
|
message,
|
||||||
hide,
|
hide,
|
||||||
"images/go-down.png");
|
"images/go-down.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO just hide/show current error and it's file
|
//TODO just hide/show current error and it's file
|
||||||
|
@ -144,7 +144,8 @@ QStandardItem *ResultsTree::AddBacktraceFiles(QStandardItem *parent,
|
||||||
|
|
||||||
setRowHidden(parent->rowCount() - 1, parent->index(), hide);
|
setRowHidden(parent->rowCount() - 1, parent->index(), hide);
|
||||||
|
|
||||||
if (!icon.isEmpty()) {
|
if (!icon.isEmpty())
|
||||||
|
{
|
||||||
list[0]->setIcon(QIcon(icon));
|
list[0]->setIcon(QIcon(icon));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -413,7 +414,7 @@ void ResultsTree::QuickStartApplication(const QModelIndex &index)
|
||||||
|
|
||||||
QString ResultsTree::SeverityToIcon(const QString &severity)
|
QString ResultsTree::SeverityToIcon(const QString &severity)
|
||||||
{
|
{
|
||||||
if (severity == "all")
|
if (severity == "all")
|
||||||
return "images/dialog-warning.png";
|
return "images/dialog-warning.png";
|
||||||
if (severity == "error")
|
if (severity == "error")
|
||||||
return "images/dialog-error.png";
|
return "images/dialog-error.png";
|
||||||
|
|
Loading…
Reference in New Issue