historywindow.cpp
changeset 393 053b8645e3e9
parent 388 3a58c9ef4a18
child 394 67cfa6e6b863
     1.1 --- a/historywindow.cpp	Mon Oct 16 12:42:54 2006 +0000
     1.2 +++ b/historywindow.cpp	Wed Oct 18 10:45:00 2006 +0000
     1.3 @@ -1,6 +1,8 @@
     1.4  #include "historywindow.h"
     1.5  #include "mapeditor.h"
     1.6  
     1.7 +extern QString iconPath;
     1.8 +
     1.9  HistoryWindow::HistoryWindow (QWidget *parent):QDialog (parent)
    1.10  {
    1.11  	ui.setupUi (this);
    1.12 @@ -21,6 +23,9 @@
    1.13  
    1.14  	ui.historyTable->setSelectionBehavior (QAbstractItemView::SelectRows);
    1.15  
    1.16 +	ui.undoButton->setIcon (QIcon(iconPath+"/undo.png"));
    1.17 +	ui.redoButton->setIcon (QIcon(iconPath+"/redo.png"));
    1.18 +
    1.19  	connect ( ui.undoButton, SIGNAL (clicked()), this, SLOT (undo()));
    1.20  	connect ( ui.redoButton, SIGNAL (clicked()), this, SLOT (redo()));
    1.21  	connect ( ui.historyTable, SIGNAL (itemSelectionChanged()), this, SLOT (select()));