MainWindow: renamed class to match new style
Renamed mainWindow to MainWindow and engine::getMainWindow() to engine::mainWindow(). Additionally reduced some header dependencies.
This commit is contained in:
1 parent
14ec1d1d10
commit
7bea6d0e07
54 files changed
+392
-401
No files matched your search
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "string_pair_drag.h"
|
||||
#include "engine.h"
|
||||
#include "main_window.h"
|
||||
#include "MainWindow.h"
|
||||
|
||||
|
||||
stringPairDrag::stringPairDrag( const QString & _key, const QString & _value,
|
||||
@@ -61,9 +61,9 @@ stringPairDrag::~stringPairDrag()
|
||||
{
|
||||
// during a drag, we might have lost key-press-events, so reset
|
||||
// modifiers of main-win
|
||||
if( engine::getMainWindow() )
|
||||
if( engine::mainWindow() )
|
||||
{
|
||||
engine::getMainWindow()->clearKeyModifiers();
|
||||
engine::mainWindow()->clearKeyModifiers();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user