Commit b43dae3a authored by Sven Langkamp's avatar Sven Langkamp

add new predefined image sizes by Ghevan, also sort the list

BUG:332525
parent edf6e17c
......@@ -9,5 +9,8 @@ A5__300_ppi_.predefinedimage
A5__600_ppi_.predefinedimage
A6__300_ppi_.predefinedimage
A6__600_ppi_.predefinedimage
US_Legal__300_ppi_.predefinedimage
US_Letter__300_ppi_.predefinedimage
US_Tabloid__300_ppi_.predefinedimage
DESTINATION ${DATA_INSTALL_DIR}/krita/predefined_image_sizes)
<!DOCTYPE params>
<params>
<param name="height">4200</param>
<param name="name"><![CDATA[US Legal (300 ppi)]]></param>
<param name="resolution">300</param>
<param name="width">2550</param>
<param name="x-unit">7</param>
<param name="y-unit">7</param>
</params>
<!DOCTYPE params>
<params>
<param name="height">3300</param>
<param name="name"><![CDATA[US Letter (300 ppi)]]></param>
<param name="resolution">300</param>
<param name="width">2550</param>
<param name="x-unit">7</param>
<param name="y-unit">7</param>
</params>
<!DOCTYPE params>
<params>
<param name="height">5100</param>
<param name="name"><![CDATA[US Tabloid (300 ppi)]]></param>
<param name="resolution">300</param>
<param name="width">3300</param>
<param name="x-unit">7</param>
<param name="y-unit">7</param>
</params>
......@@ -324,6 +324,7 @@ void KisCustomImageWidget::fillPredefined()
QString appName = KGlobal::mainComponent().componentName();
QStringList definitions = KGlobal::dirs()->findAllResources("data", appName + "/predefined_image_sizes/*", KStandardDirs::Recursive);
definitions.sort();
if (!definitions.empty()) {
......
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