diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-07-17 23:21:05 +0300 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-07-19 08:21:29 +0000 |
commit | 7cee991c70669c477aefa5009108fc0a658248de (patch) | |
tree | cf4c39585e044a28560b683e3f01c3dbd165d4c2 /src/libs/utils/pathchooser.cpp | |
parent | 9f8dbc1d2f518a50f4b5cefc3ba4c650321c274e (diff) |
Utils: Remove superfluous qualifications
Change-Id: I36e17dac0cff87f82f0ddaf97bc613389110f218
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/utils/pathchooser.cpp')
-rw-r--r-- | src/libs/utils/pathchooser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/utils/pathchooser.cpp b/src/libs/utils/pathchooser.cpp index 518023ac90..68a78222f3 100644 --- a/src/libs/utils/pathchooser.cpp +++ b/src/libs/utils/pathchooser.cpp @@ -49,9 +49,11 @@ This class has some validation logic for embedding into QWizardPage. */ +namespace Utils { + static QString appBundleExpandedPath(const QString &path) { - if (Utils::HostOsInfo::hostOs() == Utils::OsTypeMac && path.endsWith(".app")) { + if (HostOsInfo::hostOs() == OsTypeMac && path.endsWith(".app")) { // possibly expand to Foo.app/Contents/MacOS/Foo QFileInfo info(path); if (info.isDir()) { @@ -63,9 +65,7 @@ static QString appBundleExpandedPath(const QString &path) return path; } -Utils::PathChooser::AboutToShowContextMenuHandler Utils::PathChooser::s_aboutToShowContextMenuHandler; - -namespace Utils { +PathChooser::AboutToShowContextMenuHandler PathChooser::s_aboutToShowContextMenuHandler; // ------------------ BinaryVersionToolTipEventFilter // Event filter to be installed on a lineedit used for entering |