[Kst] branches/work/kst/portto4/kst/src/datasources
Mike Fenton
mike at staikos.net
Tue Nov 11 20:52:44 CET 2008
SVN commit 882968 by fenton:
Cleanup warnings.
M +2 -2 qimagesource/qimagesource.cpp
M +2 -1 sampledatasource/sampledatasource.cpp
--- branches/work/kst/portto4/kst/src/datasources/qimagesource/qimagesource.cpp #882967:882968
@@ -93,7 +93,6 @@
Kst::Object::UpdateType QImageSource::update() {
- int err = 0;
int newNF = _image.width()*_image.height();
bool isnew = newNF != _frameCount;
@@ -373,8 +372,8 @@
const QString& type,
QString *typeSuggestion,
bool *complete) const {
-
Q_UNUSED(type)
+ Q_UNUSED(cfg)
QStringList fieldList;
if (complete) {
@@ -396,6 +395,7 @@
int QImageSourcePlugin::understands(QSettings *cfg, const QString& filename) const {
+ Q_UNUSED(cfg)
QString ftype( QImageReader::imageFormat( filename ) );
if ( ftype.isEmpty() )
--- branches/work/kst/portto4/kst/src/datasources/sampledatasource/sampledatasource.cpp #882967:882968
@@ -304,7 +304,8 @@
const QString& type,
QString *typeSuggestion,
bool *complete) const {
-
+ Q_UNUSED(cfg)
+ Q_UNUSED(filename)
Q_UNUSED(type)
if (complete) {
More information about the Kst
mailing list