mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Move FileSystem utility functions out of misc.h
Use new fs_utils.h instead.
This commit is contained in:
parent
e6e63fa529
commit
0f291629cc
23 changed files with 658 additions and 527 deletions
|
@ -36,7 +36,7 @@
|
|||
#include <QDesktopServices>
|
||||
|
||||
#include "programupdater.h"
|
||||
#include "misc.h"
|
||||
#include "fs_utils.h"
|
||||
#include "preferences.h"
|
||||
|
||||
#ifdef Q_WS_MAC
|
||||
|
@ -119,7 +119,7 @@ void ProgramUpdater::rssDownloadFinished(QNetworkReply *reply)
|
|||
} else if (xml.isEndElement()) {
|
||||
if (in_item && xml.name() == "title") {
|
||||
in_title = false;
|
||||
const QString ext = misc::file_extension(item_title).toUpper();
|
||||
const QString ext = fsutils::fileExtension(item_title).toUpper();
|
||||
qDebug("Found an update with file extension: %s", qPrintable(ext));
|
||||
if (ext == FILE_EXT) {
|
||||
qDebug("The last update available is %s", qPrintable(item_title));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue