Get filename without extension
-
I think better QString::remove() should be used. Based either on previously found index of extension begin or on regexp it will be more flexible for further changes.
-
@Denis that cant really be used sometimes i think. If you dont now the extension of the file, its quite ugly to find the extension in a string because of many special cases like differnt length or ".tar.gz" with several "." . So just taking this method save a lot of pain in my opinion