|
|
@ -68,7 +68,7 @@ void MyQGL::loadImage()
|
|
|
|
// no such library
|
|
|
|
// no such library
|
|
|
|
if(!lib.isLoaded())
|
|
|
|
if(!lib.isLoaded())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
qWarning("Can't load BMP library.");
|
|
|
|
tqWarning("Can't load BMP library.");
|
|
|
|
tqApp->quit();
|
|
|
|
tqApp->quit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -84,7 +84,7 @@ void MyQGL::loadImage()
|
|
|
|
// library corrupted!
|
|
|
|
// library corrupted!
|
|
|
|
if(!codec_create || !codec_destroy)
|
|
|
|
if(!codec_create || !codec_destroy)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
qWarning("Library corrupted.");
|
|
|
|
tqWarning("Library corrupted.");
|
|
|
|
lib.unload();
|
|
|
|
lib.unload();
|
|
|
|
tqApp->quit();
|
|
|
|
tqApp->quit();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -94,7 +94,7 @@ void MyQGL::loadImage()
|
|
|
|
// if the image doesn't exist
|
|
|
|
// if the image doesn't exist
|
|
|
|
if(!QFile::exists(s))
|
|
|
|
if(!QFile::exists(s))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
qWarning("Can't find example image.");
|
|
|
|
tqWarning("Can't find example image.");
|
|
|
|
lib.unload();
|
|
|
|
lib.unload();
|
|
|
|
tqApp->quit();
|
|
|
|
tqApp->quit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|