summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <kurt.hindenburg@gmail.com>2016-09-01 13:41:23 (GMT)
committerKurt Hindenburg <kurt.hindenburg@gmail.com>2016-09-01 13:41:23 (GMT)
commit624e6ecdf7f062d8823d7bdacb66c802a62112f3 (patch)
tree6b6b55f26d1248098d30ab79d9417db20255b2f4
parent49d3fb0b4af5eeb3bcb543cf586f0ff6c9b3fbbe (diff)
use explicit for single argument classes
-rw-r--r--src/Application.h2
-rw-r--r--src/Filter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Application.h b/src/Application.h
index 2f32fda..2c606b1 100644
--- a/src/Application.h
+++ b/src/Application.h
@@ -50,7 +50,7 @@ class Application : public QObject
public:
/** Constructs a new Konsole application. */
- Application(QCommandLineParser &parser);
+ explicit Application(QCommandLineParser &parser);
~Application();
diff --git a/src/Filter.h b/src/Filter.h
index ba94177..e9a31cd 100644
--- a/src/Filter.h
+++ b/src/Filter.h
@@ -312,7 +312,7 @@ public:
QFileInfo _file;
};
- FileFilter(Session* session);
+ explicit FileFilter(Session* session);
protected:
virtual RegExpFilter::HotSpot* newHotSpot(int, int, int, int, const QStringList&);