mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
FEATURE: Added a torrent import assistant to seed or keep downloading outside torrents
This commit is contained in:
@@ -98,6 +98,14 @@ public:
|
||||
return x;
|
||||
}
|
||||
|
||||
static inline QString file_extension(const QString &filename) {
|
||||
QString extension;
|
||||
if(filename.contains(".")) {
|
||||
extension = filename.mid(filename.lastIndexOf(".")+1);
|
||||
}
|
||||
return extension;
|
||||
}
|
||||
|
||||
static void shutdownComputer();
|
||||
|
||||
static bool safeRemove(QString file_path) {
|
||||
|
||||
Reference in New Issue
Block a user