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
7878 // FIXME try to do it more like the standard dialog
7979 click(StandardButton(button), ButtonRole::NoRole);
8080 }
81−QMessageBox::ButtonRole br;
82−
83−QUrl 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−}
10281
10382 MessageDialog::StandardButtons MessageDialog::standardButtons() const {
10483 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