mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor: Remove unused method.
This commit is contained in:
@@ -527,23 +527,6 @@ QNetworkReply*
|
||||
return reply;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RiaOsduConnector::generateRandomString( int randomStringLength )
|
||||
{
|
||||
const QString possibleCharacters( "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" );
|
||||
QString randomString;
|
||||
for ( int i = 0; i < randomStringLength; ++i )
|
||||
{
|
||||
quint32 value = QRandomGenerator::global()->generate();
|
||||
int index = value % possibleCharacters.length();
|
||||
QChar nextChar = possibleCharacters.at( index );
|
||||
randomString.append( nextChar );
|
||||
}
|
||||
return randomString;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -121,7 +121,6 @@ private:
|
||||
const QString& wellboreId );
|
||||
void requestWellLogsByWellboreId( const QString& server, const QString& dataPartitionId, const QString& token, const QString& wellboreId );
|
||||
|
||||
static QString generateRandomString( int length = 20 );
|
||||
static QString constructSearchUrl( const QString& server );
|
||||
static QString constructFileDownloadUrl( const QString& server, const QString& fileId );
|
||||
static QString constructAuthUrl( const QString& authority );
|
||||
|
||||
Reference in New Issue
Block a user