Showing the changes to interface/src/Bookmarks.cpp (1 of 30 files). Show all
Unified · Split
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #include "MainWindow.h" |
| 25 | 25 | #include "Menu.h" |
| 26 | +#include "InterfaceLogging.h" | |
| 26 | 27 | |
| 27 | 28 | #include "Bookmarks.h" |
| 28 | 29 | |
| @@ -35,7 +36,7 @@ void Bookmarks::insert(const QString& name, const QString& address) { · 6 unmodified lines | ||
| 35 | 36 | _bookmarks.insert(name, address); |
| 36 | 37 | |
| 37 | 38 | if (contains(name)) { |
| 38 | − qDebug() << "Added bookmark:" << name << "," << address; | |
| 39 | + qCDebug(interface) << "Added bookmark:" << name << "," << address; | |
| 39 | 40 | persistToFile(); |
| 40 | 41 | } else { |
| 41 | 42 | qWarning() << "Couldn't add bookmark: " << name << "," << address; |
| @@ -46,7 +47,7 @@ void Bookmarks::remove(const QString& name) { · 4 unmodified lines | ||
| 46 | 47 | _bookmarks.remove(name); |
| 47 | 48 | |
| 48 | 49 | if (!contains(name)) { |
| 49 | − qDebug() << "Deleted bookmark:" << name; | |
| 50 | + qCDebug(interface) << "Deleted bookmark:" << name; | |
| 50 | 51 | persistToFile(); |
| 51 | 52 | } else { |
| 52 | 53 | qWarning() << "Couldn't delete bookmark:" << name; |