History

Cleaning up unused stuff

Brad Davis committed 11 years ago

Commit e7b8efc1 parent 08d60c67 files · +7 −18Browse files

Showing the changes to libraries/ui/src/MessageDialog.cpp (1 of 7 files). Show all

Unified · Split

libraries/ui/src/MessageDialog.cpp+0−21
@@ -78,27 +78,6 @@ void MessageDialog::click(StandardButton button) { · 77 unmodified lines
78 // FIXME try to do it more like the standard dialog78 // FIXME try to do it more like the standard dialog
79 click(StandardButton(button), ButtonRole::NoRole);79 click(StandardButton(button), ButtonRole::NoRole);
80}80}
81QMessageBox::ButtonRole br;
82
83QUrl MessageDialog::standardIconSource() {
84 switch (icon()) {
85 case Information:
86 return QUrl("images/information.png");
87 break;
88 case Warning:
89 return QUrl("images/warning.png");
90 break;
91 case Critical:
92 return QUrl("images/critical.png");
93 break;
94 case Question:
95 return QUrl("images/question.png");
96 break;
97 default:
98 return QUrl();
99 break;
100 }
101}
102 81
103MessageDialog::StandardButtons MessageDialog::standardButtons() const {82MessageDialog::StandardButtons MessageDialog::standardButtons() const {
104 return _buttons;83 return _buttons;

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