main: Linux - ask to create desktop entry on the first start

This commit is contained in:
xiphon
2020-11-30 15:22:31 +00:00
parent 96f9c11320
commit ea1fee2f5f
6 changed files with 48 additions and 24 deletions

View File

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