diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-06 19:23:52 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-06 19:23:52 -0400 |
| commit | f7c844fcf7684cbde0a3290b1950c52f88236be3 (patch) | |
| tree | 1ffbbaf31396874be7229f19840540fe9474952a /src/shared/util.h | |
| parent | 9166bd9c5bf02484bd7486374e508ca304111f5a (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.h | 13 |
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
|
