Declare pointer and reference in a consistent way

Most code use the "const QString& text" form, instead of the "const
QString &text" form. So change the minority to be consistent with
the majority.
This commit is contained in:
Jekyll Wu
2011-11-06 06:13:28 +08:00
parent 1826cfcdc9
commit 125e2c7bd2
25 changed files with 79 additions and 79 deletions

View File

@@ -853,7 +853,7 @@ StackedViewContainer::StackedViewContainer(QObject* parent)
: ViewContainer(NavigationPositionTop,parent)
{
_containerWidget = new QWidget;
QVBoxLayout *layout = new QVBoxLayout(_containerWidget);
QVBoxLayout* layout = new QVBoxLayout(_containerWidget);
_stackWidget = new QStackedWidget(_containerWidget);