diff -r 18f824bd3070 -r 053b8645e3e9 historywindow.cpp --- a/historywindow.cpp Mon Oct 16 12:42:54 2006 +0000 +++ b/historywindow.cpp Wed Oct 18 10:45:00 2006 +0000 @@ -1,6 +1,8 @@ #include "historywindow.h" #include "mapeditor.h" +extern QString iconPath; + HistoryWindow::HistoryWindow (QWidget *parent):QDialog (parent) { ui.setupUi (this); @@ -21,6 +23,9 @@ ui.historyTable->setSelectionBehavior (QAbstractItemView::SelectRows); + ui.undoButton->setIcon (QIcon(iconPath+"/undo.png")); + ui.redoButton->setIcon (QIcon(iconPath+"/redo.png")); + connect ( ui.undoButton, SIGNAL (clicked()), this, SLOT (undo())); connect ( ui.redoButton, SIGNAL (clicked()), this, SLOT (redo())); connect ( ui.historyTable, SIGNAL (itemSelectionChanged()), this, SLOT (select()));