summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-06 19:23:52 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-06 19:23:52 -0400
commitf7c844fcf7684cbde0a3290b1950c52f88236be3 (patch)
tree1ffbbaf31396874be7229f19840540fe9474952a /src/shared/util.h
parent9166bd9c5bf02484bd7486374e508ca304111f5a (diff)
put the error message in the ShellLinkException instead
added more debug logging when creating and deleting shortcuts
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index a40fa201..c4a2ed7d 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -133,6 +133,14 @@ private:
int m_iconIndex;
QString m_workingDirectory;
+ // returns a qCritical() logger with a prefix already logged
+ //
+ QDebug critical() const;
+
+ // returns a qDebug() logger with a prefix already logged
+ //
+ QDebug debug() const;
+
// returns the path where the shortcut file should be saved
//
@@ -148,6 +156,11 @@ private:
};
+// returns a string representation of the given location
+//
+QString toString(Shortcut::Locations loc);
+
+
// represents one module
//
class Module