shut up warnings

This commit is contained in:
Pierre Alliez 2012-06-20 13:32:44 +00:00
parent 91dbadcf7d
commit ab1c5899e1
3 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ PS_demo_off_plugin::load(QFileInfo fileinfo) {
// Check extension (quietly)
std::string extension = fileinfo.suffix().toUtf8().data();
if (extension != "off" && extension != "OFF")
return false;
return NULL;
// Open file
std::ifstream in(fileinfo.filePath().toUtf8().data());

View File

@ -37,7 +37,7 @@ PS_demo_xyz_plugin::load(QFileInfo fileinfo)
std::string extension = fileinfo.suffix().toUtf8().data();
if (extension != "xyz" && extension != "XYZ" &&
extension != "pwn" && extension != "PWN")
return false;
return NULL;
// Open file
std::ifstream in(fileinfo.filePath().toUtf8().data());

View File

@ -102,9 +102,9 @@ public:
// Repeat base class' public methods used below
/// @cond SKIP_IN_MANUAL
Base::begin;
Base::end;
Base::size;
using Base::begin;
using Base::end;
using Base::size;
/// @endcond
/// Gets the number of selected points.