Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.89 KB | None | 0 0
  1. diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp
  2. index 401931b..3712869 100644
  3. --- a/app/mainwindow.cpp
  4. +++ b/app/mainwindow.cpp
  5. @@ -709,25 +709,6 @@ void Foo::MainWindow::on_actionWidget_triggered()
  6.      qDebug() << qo;
  7.  }
  8.  
  9. -
  10. -
  11. -// WinPropProc is an application-defined callback function
  12. -// that lists a window property.
  13. -#define BUFFER 2000
  14. -extern "C" BOOL CALLBACK WinPropProc(
  15. -    HWND hwndSubclass,  // handle of window with property
  16. -    LPCSTR lpszString,  // property string or atom
  17. -    HANDLE hData)       // data handle
  18. -{
  19. -    static int nProp = 1;    // property counter
  20. -    TCHAR tchBuffer[BUFFER]; // expanded-string buffer
  21. -    size_t * nSize;          // size of string in buffer
  22. -    if (!IsBadReadPtr(lpszString,1))
  23. -        qDebug() <<lpszString;
  24. -
  25. -    return TRUE;
  26. -}
  27. -
  28.  void Foo::MainWindow::on_actionPtrs_triggered()
  29.  {
  30.      QByteArray a("\t\007ab\372");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement