summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggerdialogs.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-02-01 10:59:24 +0100
committerhjk <hjk@qt.io>2018-02-01 10:28:54 +0000
commit1b87d19a64d45072e72980505a936df38dda4d72 (patch)
tree8b149ec832de2d8ad67f270ca6adccdce37b5418 /src/plugins/debugger/debuggerdialogs.h
parent7c417204792fd3c023cf389693d3b3fba8712167 (diff)
downloadqt-creator-1b87d19a64d45072e72980505a936df38dda4d72.tar.gz
Debugger: Modernize
Mostly nullptr instead of 0, but also a few bits of collateral damage. Change-Id: I921991272aca921dcdecf302dfff3716e79dfc24 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerdialogs.h')
-rw-r--r--src/plugins/debugger/debuggerdialogs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerdialogs.h b/src/plugins/debugger/debuggerdialogs.h
index d9f3790a14..5a0bad3270 100644
--- a/src/plugins/debugger/debuggerdialogs.h
+++ b/src/plugins/debugger/debuggerdialogs.h
@@ -54,10 +54,10 @@ class DebuggerKitChooser : public ProjectExplorer::KitChooser
public:
enum Mode { AnyDebugging, LocalDebugging };
- explicit DebuggerKitChooser(Mode mode = AnyDebugging, QWidget *parent = 0);
+ explicit DebuggerKitChooser(Mode mode = AnyDebugging, QWidget *parent = nullptr);
protected:
- QString kitToolTip(ProjectExplorer::Kit *k) const;
+ QString kitToolTip(ProjectExplorer::Kit *k) const final;
private:
const ProjectExplorer::Abi m_hostAbi;
@@ -127,8 +127,9 @@ private:
class AddressDialog : public QDialog
{
Q_OBJECT
+
public:
- explicit AddressDialog(QWidget *parent = 0);
+ explicit AddressDialog(QWidget *parent = nullptr);
void setAddress(quint64 a);
quint64 address() const;