Add a dataPath() generater function instead of using static DataPath methods.

This commit is contained in:
Felix Geyer 2012-01-05 22:36:06 +01:00
parent 5db102d668
commit bda22394f5
4 changed files with 22 additions and 18 deletions

View file

@ -28,7 +28,7 @@ MainWindow::MainWindow()
{
m_ui->setupUi(this);
setWindowIcon(DataPath::applicationIcon());
setWindowIcon(dataPath()->applicationIcon());
connect(m_ui->tabWidget, SIGNAL(currentChanged(int)), SLOT(currentTabChanged(int)));
connect(m_ui->tabWidget, SIGNAL(entrySelectionChanged(bool)), m_ui->actionEntryEdit, SLOT(setEnabled(bool)));