History

logging groups for library/shared and interface

Seth Alves committed 11 years ago

Commit fb607e21 parent cd5245d30 files · +255 −172Browse files

Showing the changes to interface/src/Bookmarks.cpp (1 of 30 files). Show all

Unified · Split

interface/src/Bookmarks.cpp+3−2
@@ -23,6 +23,7 @@ · 22 unmodified lines
2323
2424 #include "MainWindow.h"
2525 #include "Menu.h"
26+#include "InterfaceLogging.h"
2627
2728 #include "Bookmarks.h"
2829
@@ -35,7 +36,7 @@ void Bookmarks::insert(const QString& name, const QString& address) { · 6 unmodified lines
3536 _bookmarks.insert(name, address);
3637
3738 if (contains(name)) {
38− qDebug() << "Added bookmark:" << name << "," << address;
39+ qCDebug(interface) << "Added bookmark:" << name << "," << address;
3940 persistToFile();
4041 } else {
4142 qWarning() << "Couldn't add bookmark: " << name << "," << address;
@@ -46,7 +47,7 @@ void Bookmarks::remove(const QString& name) { · 4 unmodified lines
4647 _bookmarks.remove(name);
4748
4849 if (!contains(name)) {
49− qDebug() << "Deleted bookmark:" << name;
50+ qCDebug(interface) << "Deleted bookmark:" << name;
5051 persistToFile();
5152 } else {
5253 qWarning() << "Couldn't delete bookmark:" << name;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t