Found by Clang 3.6:
assistant/main.cpp:97:1: warning: unused function 'updateUserCollection' [-Wunused-function]
Change-Id: I3fe006504e848914f38b1c481de13b3d10d1059c
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
}
}
-bool
-updateUserCollection(QHelpEngineCore& user, const QHelpEngineCore& caller)
-{
- TRACE_OBJ
- if (!CollectionConfiguration::isNewer(caller, user))
- return false;
- CollectionConfiguration::copyConfiguration(caller, user);
- return true;
-}
-
void stripNonexistingDocs(QHelpEngineCore& collection)
{
TRACE_OBJ
}
}
-static inline bool isSameIcon(const QIcon &i1, const QIcon &i2)
-{
- return i1.cacheKey() == i2.cacheKey();
-}
-
// return a FormWindow command to apply an icon or a reset command in case it
// is empty.
static const int menuZoomList[] = { 100, 25, 50, 75, 125, 150 , 175, 200 };
-static inline QSize qCeiling(const QSizeF &s)
-{
- return QSize(qCeil(s.width()), qCeil(s.height()));
-}
-
namespace qdesigner_internal {
// ---------- ZoomMenu