summaryrefslogtreecommitdiff
path: root/ui/qt/wireshark_application.cpp
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-04-05 12:15:27 -0700
committerGuy Harris <guy@alum.mit.edu>2017-04-05 19:16:22 +0000
commit357cfd3b035d1ba6438e82cc1cbec105874206b6 (patch)
tree58a77b4dc8e1192db6278716b320bf42a18ded8f /ui/qt/wireshark_application.cpp
parent1f94d34f43055ea47fc9426e1720bdb4b7397dd9 (diff)
downloadwireshark-357cfd3b035d1ba6438e82cc1cbec105874206b6.tar.gz
A bunch of "{Mac} OS X" -> "macOS" changes.
Avoid anachronisms, however; there was no "macOS 10.0" or even "OS X 10.0", for example. It was "Mac OS X" until 10.8 (although 10.7 was sometimes called "OS X" and sometimes called "Mac OS X"), and it was "OS X" from 10.8 to 10.11. Change-Id: Ie4a848997dcc6c45c2245c1fb84ec526032375c3 Reviewed-on: https://code.wireshark.org/review/20933 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/qt/wireshark_application.cpp')
-rw-r--r--ui/qt/wireshark_application.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index e301cc2bf9..0f25eee0a2 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -729,13 +729,13 @@ WiresharkApplication::WiresharkApplication(int &argc, char **argv) :
//
// QFileSystemWatcher should allow us to watch for files being
// removed or renamed. It uses kqueues and EVFILT_VNODE on FreeBSD,
- // NetBSD, FSEvents on OS X, inotify on Linux if available, and
+ // NetBSD, FSEvents on macOS, inotify on Linux if available, and
// FindFirstChagneNotification() on Windows. On all other platforms,
// it just periodically polls, as we're doing now.
//
// For unmounts:
//
- // OS X and FreeBSD deliver NOTE_REVOKE notes for EVFILT_VNODE, and
+ // macOS and FreeBSD deliver NOTE_REVOKE notes for EVFILT_VNODE, and
// QFileSystemWatcher delivers signals for them, just as it does for
// NOTE_DELETE and NOTE_RENAME.
//
@@ -762,7 +762,7 @@ WiresharkApplication::WiresharkApplication(int &argc, char **argv) :
//
// Note also that remote file systems might not report file
// removal or renames if they're done on the server or done by
- // another client. At least on OS X, they *will* get reported
+ // another client. At least on macOS, they *will* get reported
// if they're done on the machine running the program doing the
// kqueue stuff, and, at least in newer versions, should get
// reported on SMB-mounted (and AFP-mounted?) file systems
@@ -778,7 +778,7 @@ WiresharkApplication::WiresharkApplication(int &argc, char **argv) :
// catch *that* would be to watch for mounts and re-check all
// marked-as-inaccessible files.
//
- // OS X and FreeBSD also support EVFILT_FS events, which notify you
+ // macOS and FreeBSD also support EVFILT_FS events, which notify you
// of file system mounts and unmounts. We'd need to add our own
// kqueue for that, if we can check those with QSocketNotifier.
//
@@ -800,7 +800,7 @@ WiresharkApplication::WiresharkApplication(int &argc, char **argv) :
// (Speaking of automounters, repeatedly polling recent files will
// keep the file system from being unmounted, for what that's worth.)
//
- // At least on OS X, you can determine whether a file is on an
+ // At least on macOS, you can determine whether a file is on an
// automounted file system by calling statfs() on its path and
// checking whether MNT_AUTOMOUNTED is set in f_flags. FreeBSD
// appears to support that flag as well, but no other *BSD appears
@@ -824,7 +824,7 @@ WiresharkApplication::WiresharkApplication(int &argc, char **argv) :
// Application-wide style sheet
QString app_style_sheet = qApp->styleSheet();
#if defined(Q_OS_MAC) && QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
- // Qt uses the HITheme API to draw splitters. In recent versions of OS X
+ // Qt uses the HITheme API to draw splitters. In recent versions of macOS
// this looks particularly bad: https://bugreports.qt.io/browse/QTBUG-43425
// This doesn't look native but it looks better than Yosemite's bit-rotten
// rendering of HIThemeSplitterDrawInfo.
@@ -898,7 +898,7 @@ void WiresharkApplication::emitAppSignal(AppSignal signal)
// Flush any collected app signals.
//
-// On OS X emitting PacketDissectionChanged from a dialog can
+// On macOS emitting PacketDissectionChanged from a dialog can
// render the application unusable:
// https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11361
// https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11448