summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp12
-rw-r--r--src/imports/webview/qdeclarativewebview.cpp2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp b/src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp
index 74e507de..05664225 100644
--- a/src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp
+++ b/src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp
@@ -158,12 +158,12 @@ QDeclarativeFolderListModel::QDeclarativeFolderListModel(QObject *parent)
{
d = new QDeclarativeFolderListModelPrivate;
d->model.setFilter(QDir::AllDirs | QDir::Files | QDir::Drives | QDir::NoDotAndDotDot);
- connect(&d->model, SIGNAL(rowsInserted(const QModelIndex&,int,int))
- , this, SLOT(inserted(const QModelIndex&,int,int)));
- connect(&d->model, SIGNAL(rowsRemoved(const QModelIndex&,int,int))
- , this, SLOT(removed(const QModelIndex&,int,int)));
- connect(&d->model, SIGNAL(dataChanged(const QModelIndex&,const QModelIndex&))
- , this, SLOT(handleDataChanged(const QModelIndex&,const QModelIndex&)));
+ connect(&d->model, SIGNAL(rowsInserted(QModelIndex,int,int))
+ , this, SLOT(inserted(QModelIndex,int,int)));
+ connect(&d->model, SIGNAL(rowsRemoved(QModelIndex,int,int))
+ , this, SLOT(removed(QModelIndex,int,int)));
+ connect(&d->model, SIGNAL(dataChanged(QModelIndex,QModelIndex))
+ , this, SLOT(handleDataChanged(QModelIndex,QModelIndex)));
connect(&d->model, SIGNAL(modelReset()), this, SLOT(refresh()));
connect(&d->model, SIGNAL(layoutChanged()), this, SLOT(refresh()));
}
diff --git a/src/imports/webview/qdeclarativewebview.cpp b/src/imports/webview/qdeclarativewebview.cpp
index 5784ba40..84524d8d 100644
--- a/src/imports/webview/qdeclarativewebview.cpp
+++ b/src/imports/webview/qdeclarativewebview.cpp
@@ -302,7 +302,7 @@ void QDeclarativeWebView::init()
if (!preferredHeight())
setPreferredHeight(d->view->preferredHeight());
connect(d->view, SIGNAL(geometryChanged()), this, SLOT(updateDeclarativeWebViewSize()));
- connect(d->view, SIGNAL(doubleClick(int, int)), this, SIGNAL(doubleClick(int, int)));
+ connect(d->view, SIGNAL(doubleClick(int,int)), this, SIGNAL(doubleClick(int,int)));
connect(d->view, SIGNAL(scaleChanged()), this, SIGNAL(contentsScaleChanged()));
}