added config.h.in and moved some defines there

This commit is contained in:
Mathias Panzenböck
2014-02-16 18:04:32 +01:00
parent d76571babf
commit 6a91eca365
13 changed files with 57 additions and 31 deletions

View File

@ -1,11 +1,12 @@
#include "layout_edit.h"
#include "config.h"
//build the dialog
LayoutEdit::LayoutEdit( LayoutManager* l ): QWidget(NULL) {
lm = l;
setAttribute(Qt::WA_DeleteOnClose);
setWindowTitle( NAME );
setWindowIcon(QPixmap(ICON24));
setWindowTitle( QJOYPAD_NAME );
setWindowIcon(QPixmap(QJOYPAD_ICON64));
mainLayout = new QVBoxLayout( this);
mainLayout->setSpacing(5);