Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
e78117f906 | |
|
d30b9c4bb9 |
|
@ -55,11 +55,12 @@ AboutDialog::AboutDialog(QWidget* parent):QDialog(parent)
|
|||
str+="</div><br><div style='margin-left:0px;'>";
|
||||
str+="<b>"+tr("Thanks To")+"</b><br>";
|
||||
str+="</div><div style='margin-left:10px;'>";
|
||||
str+="<u>Matthias Miller</u><br>"+tr("Patches for better MacOS X support")+"<br>www.outofhanwell.com<br></div>";
|
||||
str+="<u>Matthias Miller</u><br>"+tr("Patches for better MacOS X support")+"<br>www.outofhanwell.com<br>";
|
||||
str+="<br>";
|
||||
str+="<u>James Nicholls</u><br>"+tr("Main Application Icon")/*+"<br>"+tr("mailto:???")*/+"<br></div>";
|
||||
str+="<u>James Nicholls</u><br>"+tr("Main Application Icon")/*+"<br>"+tr("mailto:???")*/+"<br>";
|
||||
str+="<br>";
|
||||
str+="<u>Constantin Makshin</u><br>"+tr("Various fixes and improvements")+"<br>dinosaur-rus@users.sourceforge.net<br></div>";
|
||||
str+="<u>Constantin Makshin</u><br>"+tr("Various fixes and improvements")+"<br>dinosaur-rus@users.sourceforge.net<br>";
|
||||
str+="</div>";
|
||||
Edit_Thanks->setHtml(str);
|
||||
|
||||
QFile gpl(DataDir+"/license.html");
|
||||
|
@ -80,3 +81,8 @@ void AboutDialog::paintEvent(QPaintEvent *event){
|
|||
painter.setClipRegion(event->region());
|
||||
painter.drawPixmap(QPoint(0,0),BannerPixmap);
|
||||
}
|
||||
|
||||
void AboutDialog::resizeEvent(QResizeEvent* event){
|
||||
createBanner(&BannerPixmap, getPixmap("keepassx"), QString("%1 %2").arg(APP_DISPLAY_NAME, APP_VERSION), width());
|
||||
QDialog::resizeEvent(event);
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ class AboutDialog : public QDialog, private Ui_AboutDlg
|
|||
private:
|
||||
QPixmap BannerPixmap;
|
||||
virtual void paintEvent(QPaintEvent*);
|
||||
virtual void resizeEvent(QResizeEvent*);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -338,7 +338,7 @@ void KeepassEntryView::editEntry(EntryViewItem* item){
|
|||
IEntryHandle* handle = item->EntryHandle;
|
||||
CEntry old = handle->data();
|
||||
|
||||
CEditEntryDlg dlg(db,handle,this,true);
|
||||
CEditEntryDlg dlg(db,handle,this,false);
|
||||
int result = dlg.exec();
|
||||
switch(result){
|
||||
case 0: //canceled or no changes
|
||||
|
|
Loading…
Reference in New Issue