Commit ff130658 authored by Rafal Kulaga's avatar Rafal Kulaga

Fixed a few warnings.

parent 8b194e4c
......@@ -193,7 +193,7 @@ QList<FOV*> FOV::readFOVs()
QStringList fields = istream.readLine().split(':');
bool ok;
QString name, color;
float sizeX, sizeY, xoffset, yoffset, rot, orient;
float sizeX, sizeY, xoffset, yoffset, rot;
Shape shape;
if( fields.count() == 8 )
{
......
......@@ -236,6 +236,8 @@ void SupernovaeComponent::slotTriggerDataFileUpdate()
void SupernovaeComponent::slotDataFileUpdateFinished( int exitCode, QProcess::ExitStatus exitStatus )
{
Q_UNUSED(exitStatus)
if ( exitCode ) {
QString errmsg;
switch ( exitCode ) {
......
......@@ -31,6 +31,8 @@ void SkyObjListModel::addSkyObject(SkyObjItem *soitem)
int SkyObjListModel::rowCount(const QModelIndex& parent) const
{
Q_UNUSED(parent)
return m_SoItemList.size();
}
......
......@@ -88,6 +88,8 @@ void WIView::onCategorySelected(int type)
void WIView::onSoListItemClicked(int type, QString typeName, int index)
{
Q_UNUSED(typeName)
SkyObjItem *soitem = m_ModManager->returnModel(type)->getSkyObjItem(index);
// soTypeTextObj->setProperty("text", typeName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment