diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-20 14:15:05 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-20 14:15:05 -0400 |
commit | 20aa87623b3795d8bc21174598da33ce637e993f (patch) | |
tree | 7923e74b6de7eb1ea9036ae4a657cc07048e4d02 /lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp | |
parent | Ok, *Now* the desktop plugin resizing routine works properly. Also try to fix... (diff) | |
download | lumina-20aa87623b3795d8bc21174598da33ce637e993f.tar.gz lumina-20aa87623b3795d8bc21174598da33ce637e993f.tar.bz2 lumina-20aa87623b3795d8bc21174598da33ce637e993f.zip |
Ok, Now the desktop plugin canvas has truly been converted to a grid-space coordinate system. Also setup the desktop plugins to assign a default size for themselves in grid-space rather than pixels (better accounts for screen scaling and such on high-resolution monitors).
Diffstat (limited to 'lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp')
-rw-r--r-- | lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp index f66cb53e..e229774d 100644 --- a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp +++ b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp @@ -62,9 +62,6 @@ NotePadPlugin::NotePadPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID) QTimer::singleShot(2000, this, SLOT(notesDirChanged())); //qDebug() << "Set Sizing"; - //Now setup the initial values for the plugin - qDebug() << "New Notepad:" << this->sizeHint() << this->size(); - this->setInitialSize(this->sizeHint().width(),this->sizeHint().height()); //qDebug() << "Connect Signals/slots"; //Setup the button connections connect(open, SIGNAL(clicked()), this, SLOT(openNote()) ); |