Ignore:
Timestamp:
01/19/10 10:09:41 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
c5324ca
Parents:
b1fc17a
Message:

set MapDialog? title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mapwindow.cpp

    rb1fc17a r9afc0ee  
    11#include "mapwindow.h"
    22
    3 MapWindow::MapWindow(const QPixmap &aImage, QWidget *aParent)
     3MapWindow::MapWindow(const QPixmap &aImage, const QString &aName, QWidget *aParent)
    44    : QDialog(aParent)
    55{
    66    setupUi(this);
    77    setMouseTracking(true); // to receive mouse events
     8    setWindowTitle(aName);
    89    map->setPixmap(aImage);
    910}
Note: See TracChangeset for help on using the changeset viewer.