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