macOS/Windows: fix compiler warning

This commit is contained in:
selsta
2019-09-06 00:22:39 +02:00
parent a267712d10
commit 738e802f3c
3 changed files with 6 additions and 2 deletions

View File

@@ -37,8 +37,10 @@ bool fileExists(QString path);
QByteArray fileOpen(QString path);
bool fileWrite(QString path, QString data);
QString getAccountName();
#ifdef Q_OS_LINUX
QString xdgMime(QApplication &app);
void registerXdgMime(QApplication &app);
#endif
const static QRegExp reURI = QRegExp("^\\w+:\\/\\/([\\w+\\-?\\-_\\-=\\-&]+)");
QString randomUserAgent();