Commit a5173ab9 authored by Harald Sitter's avatar Harald Sitter

style++

parent 27331d62
......@@ -36,8 +36,9 @@ ApplicationWindow {
function withoutExtension(str)
{
var str = new String(str) // Make sure its a stringy.
if(str.lastIndexOf(".") != -1)
if (str.lastIndexOf(".") != -1) {
str = str.substring(0, str.lastIndexOf("."));
}
return str;
}
......@@ -198,8 +199,6 @@ ApplicationWindow {
Menu {
id: imageContextMenu
// closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
MenuItem {
text: "add"
......
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