forked from qt-creator/qt-creator
Utils: Remove dead code
Change-Id: I9e9c7192308630fd85c4ff49120f34dbc8b0c724 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -54,14 +54,6 @@ static inline QString msgFound(const QString &searchTerm, int numMatches, int nu
|
|||||||
arg(searchTerm).arg(numFilesSearched);
|
arg(searchTerm).arg(numFilesSearched);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline QString msgFound(const QString &searchTerm, int numMatches, int numFilesSearched, int filesSize)
|
|
||||||
{
|
|
||||||
return QCoreApplication::translate("Utils::FileSearch",
|
|
||||||
"%1: %n occurrences found in %2 of %3 files.",
|
|
||||||
0, QCoreApplication::CodecForTr, numMatches).
|
|
||||||
arg(searchTerm).arg(numFilesSearched).arg(filesSize);
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
const int MAX_LINE_SIZE = 400;
|
const int MAX_LINE_SIZE = 400;
|
||||||
|
|||||||
@@ -279,12 +279,6 @@ QStringList QtcProcess::splitArgs(const QString &_args, bool abortOnMeta, SplitE
|
|||||||
|
|
||||||
#else // Q_OS_WIN
|
#else // Q_OS_WIN
|
||||||
|
|
||||||
inline static bool isQuoteMeta(QChar cUnicode)
|
|
||||||
{
|
|
||||||
char c = cUnicode.toLatin1();
|
|
||||||
return c == '\\' || c == '\'' || c == '"' || c == '$';
|
|
||||||
}
|
|
||||||
|
|
||||||
inline static bool isMeta(QChar cUnicode)
|
inline static bool isMeta(QChar cUnicode)
|
||||||
{
|
{
|
||||||
static const uchar iqm[] = {
|
static const uchar iqm[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user