mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
QStringView -> QString
This commit is contained in:
parent
0d4485d754
commit
5c97b2df7a
@ -40,7 +40,7 @@ QString GPService::findBinary()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Port from https://github.com/qt/qtbase/blob/11d1dcc6e263c5059f34b44d531c9ccdf7c0b1d6/src/corelib/io/qprocess.cpp#L2115 */
|
/* Port from https://github.com/qt/qtbase/blob/11d1dcc6e263c5059f34b44d531c9ccdf7c0b1d6/src/corelib/io/qprocess.cpp#L2115 */
|
||||||
QStringList GPService::splitCommand(QStringView command)
|
QStringList GPService::splitCommand(QString command)
|
||||||
{
|
{
|
||||||
QStringList args;
|
QStringList args;
|
||||||
QString tmp;
|
QString tmp;
|
||||||
|
@ -54,7 +54,7 @@ private:
|
|||||||
|
|
||||||
void log(QString msg);
|
void log(QString msg);
|
||||||
static QString findBinary();
|
static QString findBinary();
|
||||||
static QStringList splitCommand(QStringView command);
|
static QStringList splitCommand(QString command);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GLOBALPROTECTSERVICE_H
|
#endif // GLOBALPROTECTSERVICE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user