aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/basic/ChannelObject.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-12 06:02:37 +0000
committersaturneric <[email protected]>2024-01-12 06:02:37 +0000
commitbf538056b24a68b8fd235b1c50991ee8eb46a776 (patch)
treee1bab54095b80df62b321fb5bd69453f9f951b05 /src/core/function/basic/ChannelObject.h
parentfeat: improve api and ui of keys import and export (diff)
downloadGpgFrontend-bf538056b24a68b8fd235b1c50991ee8eb46a776.tar.gz
GpgFrontend-bf538056b24a68b8fd235b1c50991ee8eb46a776.zip
refactor: use QString instead of std::string and improve threading system
Diffstat (limited to 'src/core/function/basic/ChannelObject.h')
-rw-r--r--src/core/function/basic/ChannelObject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/basic/ChannelObject.h b/src/core/function/basic/ChannelObject.h
index 18317ee2..27be55c4 100644
--- a/src/core/function/basic/ChannelObject.h
+++ b/src/core/function/basic/ChannelObject.h
@@ -55,7 +55,7 @@ class GPGFRONTEND_CORE_EXPORT ChannelObject {
*
* @param channel
*/
- explicit ChannelObject(int channel, std::string type);
+ explicit ChannelObject(int channel, QString type);
/**
* @brief Get the Default Channel object
@@ -80,7 +80,7 @@ class GPGFRONTEND_CORE_EXPORT ChannelObject {
private:
int channel_ = kGpgFrontendDefaultChannel; ///< The channel id
- std::string type_;
+ QString type_;
};
template <typename Derived>