diff options
author | Ken Moore <moorekou@gmail.com> | 2015-08-27 15:17:25 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-08-27 15:17:25 -0400 |
commit | d2fe28acc6a305a8632809916e99ac95cce62871 (patch) | |
tree | 32b44b362e4f0a665d0b53cfdd4358ba05c04dab /lumina-fm/FODialog.cpp | |
parent | Get drag and drop functionality completely working (Internal only - will not ... (diff) | |
download | lumina-d2fe28acc6a305a8632809916e99ac95cce62871.tar.gz lumina-d2fe28acc6a305a8632809916e99ac95cce62871.tar.bz2 lumina-d2fe28acc6a305a8632809916e99ac95cce62871.zip |
Add a new "ScrollDialog" to lumina-fm for instances where a lot of text might be getting shown to the user. Use this dialog for checksums as well.
Diffstat (limited to 'lumina-fm/FODialog.cpp')
-rw-r--r-- | lumina-fm/FODialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-fm/FODialog.cpp b/lumina-fm/FODialog.cpp index a4d9afa7..b039166a 100644 --- a/lumina-fm/FODialog.cpp +++ b/lumina-fm/FODialog.cpp @@ -26,7 +26,7 @@ FODialog::FODialog(QWidget *parent) : QDialog(parent), ui(new Ui::FODialog){ //Make sure this dialog is centered on the parent if(parent!=0){ - QPoint ctr = parent->geometry().center(); + QPoint ctr = parent->mapToGlobal(parent->geometry().center()); this->move( ctr.x()-(this->width()/2), ctr.y()-(this->height()/2) ); } this->show(); |