Browse Source

MarkdownEditor: bug fix about typing markers

Le Tan 3 years ago
parent
commit
749c4006a2
3 changed files with 2 additions and 8 deletions
  1. 1 1
      libs/vtextedit
  2. 0 6
      src/core/singleinstanceguard.cpp
  3. 1 1
      src/core/singleinstanceguard.h

+ 1 - 1
libs/vtextedit

@@ -1 +1 @@
-Subproject commit 3843b68cca169ee8ecd56ff2391f81fb5da1b6d0
+Subproject commit 398ec0f8523d9c74a44cb746b5a1017741521e48

+ 0 - 6
src/core/singleinstanceguard.cpp

@@ -14,14 +14,8 @@ const QString SingleInstanceGuard::c_serverName = "vnote";
 
 const QChar SingleInstanceGuard::c_stringListSeparator = '>';
 
-SingleInstanceGuard::SingleInstanceGuard()
-{
-    qInfo() << "guarding is on";
-}
-
 SingleInstanceGuard::~SingleInstanceGuard()
 {
-    qInfo() << "guarding is off";
     exit();
 }
 

+ 1 - 1
src/core/singleinstanceguard.h

@@ -14,7 +14,7 @@ namespace vnotex
     {
         Q_OBJECT
     public:
-        SingleInstanceGuard();
+        SingleInstanceGuard() = default;
 
         ~SingleInstanceGuard();