QTfrontend/SDLs.cpp
changeset 2531 c7f841eb91fb
parent 2520 b785c90b93fe
child 2948 3f21a9dc93d0
equal deleted inserted replaced
2530:5a11abbbdac8 2531:c7f841eb91fb
    65 	{
    65 	{
    66 		result << "640x480";
    66 		result << "640x480";
    67 	} else
    67 	} else
    68 	{
    68 	{
    69 		for(int i = 0; modes[i]; ++i)
    69 		for(int i = 0; modes[i]; ++i)
    70 			if ((modes[i]->w >= 640) && (modes[i]->h >= 480) && (modes[i]->h <= 1200))
    70 			if ((modes[i]->w >= 640) && (modes[i]->h >= 480))
    71 				result << QString("%1x%2").arg(modes[i]->w).arg(modes[i]->h);
    71 				result << QString("%1x%2").arg(modes[i]->w).arg(modes[i]->h);
    72 	}
    72 	}
    73 
    73 
    74 	return result;
    74 	return result;
    75 }
    75 }